:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#182236;background:#f7f8fa;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}.hidden{display:none!important}.app-shell{display:flex;min-height:100vh}.sidebar{width:246px;min-width:246px;background:#fff;border-right:1px solid #e9edf2;padding:28px 14px 20px;display:flex;flex-direction:column;gap:0}.brand{display:flex;align-items:center;gap:10px;padding:0 14px;margin-bottom:48px;font-size:27px;font-weight:800;letter-spacing:-1.7px;color:#182236}.brand-dot{color:#50bfa0}.brand-mark{width:33px;height:33px;border-radius:9px;background:#1a2740;display:flex;align-items:flex-end;gap:3px;padding:8px}.brand-mark i{display:block;width:5px;background:#83d7ba;border-radius:2px}.brand-mark i:nth-child(1){height:17px}.brand-mark i:nth-child(2){height:12px;background:white}.brand-mark i:nth-child(3){height:8px;background:#8aa5f5}.side-label,.side-heading{font-size:11px;font-weight:800;letter-spacing:1.05px;color:#9aa5b4;padding:0 14px}.side-label{margin-bottom:12px}.side-heading{display:flex;align-items:center;justify-content:space-between;margin:33px 0 9px}.icon-button{border:0;background:transparent;color:#627086;width:32px;height:32px;border-radius:8px;font-size:18px;display:inline-grid;place-items:center}.icon-button:hover,.nav-item:hover{background:#f2f5f8}.add-side{font-size:24px}.nav-item{width:100%;border:0;background:transparent;color:#5b687c;display:flex;align-items:center;text-align:left;gap:12px;padding:11px 13px;border-radius:9px;font-size:14px;font-weight:550;margin:2px 0}.nav-item.active{background:#edf4f2;color:#185b50;font-weight:700}.nav-icon{width:19px;text-align:center;font-size:19px;line-height:1}.nav-count{margin-left:auto;color:#8895a5;font-size:12px}.project-dot{width:9px;height:9px;flex:none;border-radius:50%;background:var(--project-color,#6aa9dc)}.project-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.side-bottom{margin-top:auto;border-top:1px solid #eef0f2;padding-top:15px}.local-pill{display:flex;align-items:center;gap:8px;color:#98a3af;font-size:12px;padding:10px 14px 15px}.online-dot{height:7px;width:7px;border-radius:50%;background:#58c7a3}.main{min-width:0;flex:1}.topbar{height:78px;background:#fff;border-bottom:1px solid #e9edf2;padding:0 42px;display:flex;align-items:center;justify-content:space-between}.breadcrumbs{display:flex;align-items:center;gap:13px;color:#8b96a6;font-size:14px}.breadcrumbs strong{color:#1f2937;font-weight:700}.slash{color:#c6ced7}.top-actions{display:flex;align-items:center;gap:20px}.offline-indicator{font-size:12px;color:#8692a1}.button{border:1px solid #dfe5ed;background:#fff;color:#28364a;padding:10px 16px;border-radius:9px;font-size:14px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:39px}.button:hover{background:#f7f9fb}.button.primary{background:#18253e;border-color:#18253e;color:white}.button.primary:hover{background:#263754}.button.danger{color:#b43d4b;border-color:#f2ced2}.button.small{padding:8px 12px;min-height:34px;font-size:13px}.content{max-width:1440px;margin:auto;padding:35px 42px 60px}.page-title-row{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:28px}.eyebrow{font-size:11px;font-weight:800;letter-spacing:1.25px;color:#96a2b0;text-transform:uppercase;margin:0 0 8px}.page-title{font-size:31px;line-height:1.15;letter-spacing:-1px;margin:0;color:#172237}.page-subtitle{color:#8793a2;font-size:14px;margin:9px 0 0;line-height:1.5}.page-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:29px}.stat-card{background:#fff;border:1px solid #e9edf2;border-radius:13px;padding:21px 21px 18px;min-height:124px}.stat-label{font-size:13px;color:#8692a1;font-weight:600;display:flex;justify-content:space-between;align-items:center}.stat-icon{font-size:18px;color:#9aadc1}.stat-value{font-size:28px;letter-spacing:-1px;font-weight:760;color:#1c2940;margin-top:19px}.stat-note{font-size:12px;color:#9ba7b4;margin-top:3px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:27px 0 15px}.section-heading h2{margin:0;font-size:18px;letter-spacing:-.35px}.section-heading small{color:#9aa5b4;font-size:13px}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.project-card{background:#fff;border:1px solid #e9edf2;border-radius:13px;padding:21px;text-align:left;color:inherit;min-height:199px;display:flex;flex-direction:column;transition:transform .15s,border-color .15s,box-shadow .15s}.project-card:hover{border-color:#cbd8e5;box-shadow:0 10px 25px #1d36520b;transform:translateY(-2px)}.project-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.project-symbol{height:38px;width:38px;border-radius:10px;background:color-mix(in srgb,var(--project-color) 14%,white);color:var(--project-color);display:grid;place-items:center;font-weight:800;font-size:18px}.subtle-arrow{color:#aab5c1;font-size:21px}.project-card h3{margin:0;font-size:16px}.project-card p{font-size:13px;line-height:1.4;color:#96a1af;margin:7px 0 19px;min-height:18px}.progress-track{height:5px;background:#eef1f5;border-radius:9px;overflow:hidden;margin-top:auto}.progress-fill{height:100%;background:var(--project-color);border-radius:9px}.project-card-footer{display:flex;justify-content:space-between;gap:8px;color:#929eac;font-size:12px;margin-top:13px}.panel{background:#fff;border:1px solid #e9edf2;border-radius:13px}.upcoming-list{padding:4px 19px}.upcoming-row{display:flex;align-items:center;gap:14px;padding:16px 2px;border-bottom:1px solid #f0f2f5}.upcoming-row:last-child{border-bottom:0}.date-box{width:39px;min-width:39px;text-align:center;color:#426080;font-size:11px;font-weight:800;line-height:1.25}.date-box strong{display:block;font-size:18px;color:#21304a}.upcoming-main{min-width:0;flex:1}.upcoming-main strong{display:block;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.upcoming-main span{display:block;color:#9aa5b1;font-size:12px;margin-top:4px}.tag{display:inline-flex;align-items:center;border-radius:7px;padding:5px 9px;font-size:11px;font-weight:700;white-space:nowrap;background:#eef2f7;color:#596b81}.tag.done{background:#e9f7ef;color:#32805b}.tag.progress{background:#eaf2ff;color:#476ba3}.tag.paused{background:#fff2e4;color:#a97739}.tag.overdue{background:#ffedf0;color:#bf4e60}.empty-state{padding:45px 26px;text-align:center;border:1px dashed #d8e0e9;background:#fff;border-radius:13px;color:#8996a5}.empty-state .empty-icon{font-size:27px;color:#7ca79b;margin-bottom:12px}.empty-state strong{display:block;color:#36455b;font-size:16px}.empty-state p{max-width:370px;margin:9px auto 18px;line-height:1.5;font-size:14px}.project-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:24px}.summary-item{background:#fff;border:1px solid #e9edf2;border-radius:12px;padding:18px}.summary-item span{display:block;color:#94a0ae;font-size:12px}.summary-item strong{display:block;margin-top:10px;font-size:20px;letter-spacing:-.4px}.project-tabs{display:flex;border-bottom:1px solid #e0e6ed;gap:25px;margin:15px 0 22px}.tab{border:0;background:none;color:#8b98a8;padding:0 0 13px;font-size:14px;font-weight:650;position:relative}.tab.active{color:#1b6254}.tab.active:after{content:"";height:2px;position:absolute;bottom:-1px;left:0;right:0;background:#46b493}.board-tools{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px;gap:12px}.filter-group{display:flex;gap:6px;flex-wrap:wrap}.filter-btn{border:1px solid #e2e7ec;background:#fff;border-radius:8px;padding:8px 12px;color:#8793a1;font-size:13px}.filter-btn.active{background:#eaf4f1;border-color:#d3ebe3;color:#247762;font-weight:700}.board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;align-items:start}.board-column{background:#f0f3f6;border-radius:11px;padding:12px;min-height:250px}.column-head{display:flex;justify-content:space-between;align-items:center;margin:2px 3px 13px;font-size:13px;font-weight:750;color:#526176}.column-count{background:#e2e7ee;border-radius:5px;padding:2px 7px;color:#7d8a9a;font-size:11px}.item-card{width:100%;text-align:left;background:#fff;border:1px solid #e8edf2;border-radius:9px;padding:15px;margin-bottom:10px;color:#26354b;box-shadow:0 2px 4px #1a2d4706}.item-card:hover{border-color:#b9d5cf}.item-category{font-size:10px;font-weight:800;letter-spacing:.7px;text-transform:uppercase;color:#4d967f;margin-bottom:9px}.item-category.idea{color:#9a75ad}.item-category.deployment{color:#6482bd}.item-card strong{display:block;font-size:14px;line-height:1.35}.item-card p{font-size:12px;line-height:1.4;color:#98a4b1;margin:6px 0 13px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.item-meta{display:flex;justify-content:space-between;align-items:center;color:#93a0ad;font-size:11px;margin-top:15px}.add-column{border:1px dashed #cad5df;background:transparent;color:#7c8b9d;padding:9px;border-radius:7px;width:100%;font-size:12px;font-weight:700}.add-column:hover{background:#fff}.details-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:16px}.detail-panel{padding:23px}.detail-panel h2{font-size:16px;margin:0 0 18px}.detail-panel p{font-size:14px;color:#68788b;line-height:1.65;white-space:pre-wrap;margin:0}.metric-row{display:flex;justify-content:space-between;border-bottom:1px solid #edf0f3;padding:12px 0;font-size:13px;gap:15px}.metric-row:last-child{border:0}.metric-row span{color:#8b98a7}.metric-row strong{color:#26354b}.attachment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.attachment-card{border:1px solid #e9edf2;border-radius:9px;overflow:hidden}.attachment-card img{width:100%;aspect-ratio:16/10;object-fit:cover;display:block}.attachment-card span{display:block;padding:9px;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.video-frame{aspect-ratio:16/9;width:100%;border:0;border-radius:9px;background:#111827}.video-url{word-break:break-all;font-size:12px;color:#74839a}.agenda-group{margin-bottom:24px}.agenda-group h2{font-size:15px;margin:0 0 10px;color:#5a6a7f}.agenda-entry{width:100%;border:0;background:white;border-bottom:1px solid #eef1f4;display:flex;gap:16px;align-items:center;padding:15px;text-align:left}.agenda-entry:last-child{border-bottom:0}.agenda-entry:hover{background:#f9fbfc}.agenda-entry strong{font-size:14px}.agenda-entry small{color:#8996a5;display:block;margin-top:4px;font-size:12px}.modal-backdrop{position:fixed;inset:0;background:#10192891;display:flex;align-items:center;justify-content:center;padding:18px;z-index:50}.modal{width:min(560px,100%);max-height:min(90vh,850px);overflow:auto;background:#fff;border-radius:16px;box-shadow:0 25px 80px #0d1e3840;padding:26px}.modal.wide{width:min(780px,100%)}.modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:22px}.modal-head h2{margin:0;font-size:21px;letter-spacing:-.45px}.modal-head p{margin:7px 0 0;color:#92a0af;font-size:13px}.modal-close{border:0;background:#f2f5f8;border-radius:7px;width:29px;height:29px;color:#6b7c8f;font-size:20px;line-height:1}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field.full{grid-column:1/-1}.field label{font-size:13px;font-weight:700;color:#42536a}.field input,.field select,.field textarea{border:1px solid #dce3e9;border-radius:8px;padding:10px 11px;background:#fff;color:#22314a;outline:none;min-width:0;font-size:14px}.field textarea{resize:vertical;min-height:90px}.field input:focus,.field select:focus,.field textarea:focus{border-color:#62b9a4;box-shadow:0 0 0 3px #62b9a41c}.field-hint{font-size:12px;color:#9ba7b5;line-height:1.4}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:24px;flex-wrap:wrap}.modal-actions .danger{margin-right:auto}.modal-section{border-top:1px solid #edf0f3;margin-top:20px;padding-top:20px}.modal-section h3{font-size:14px;margin:0 0 12px}.attachment-list{display:flex;flex-wrap:wrap;gap:9px}.attachment-thumb{position:relative}.attachment-thumb img{height:93px;width:125px;object-fit:cover;border-radius:8px;border:1px solid #e2e7ec}.remove-attachment{position:absolute;top:4px;right:4px;border:0;border-radius:50%;width:23px;height:23px;background:#18253dcc;color:white}.paste-zone{border:1px dashed #bdccd8;border-radius:9px;padding:17px;text-align:center;color:#91a0af;font-size:13px;cursor:pointer}.paste-zone:hover{background:#f7fafb}.paste-zone:focus{outline:2px solid #62b9a4}.video-preview{margin-top:12px}.toast{position:fixed;bottom:23px;right:24px;background:#263a50;color:white;padding:12px 16px;border-radius:9px;font-size:13px;z-index:80;box-shadow:0 8px 24px #14243f33}.mobile-menu{display:none}@media(max-width:1150px){.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-grid,.project-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:800px){.sidebar{position:fixed;z-index:30;left:0;top:0;bottom:0;transform:translateX(-100%);box-shadow:12px 0 30px #17243a12;transition:transform .2s}.sidebar.open{transform:translateX(0)}.mobile-menu{display:inline-grid}.topbar{padding:0 19px;height:66px}.top-actions{gap:7px}.offline-indicator{display:none}.top-actions .button{font-size:12px;padding:8px 10px}.content{padding:27px 19px 45px}.board{grid-template-columns:1fr}.board-column{min-height:auto}.details-grid{grid-template-columns:1fr}}@media(max-width:540px){.page-title{font-size:27px}.page-title-row{display:block}.page-actions{justify-content:flex-start;margin-top:17px}.stat-grid,.project-summary,.project-grid{grid-template-columns:1fr 1fr}.stat-card{min-height:105px;padding:16px}.stat-value{font-size:22px;margin-top:15px}.project-card{min-height:185px;padding:16px}.project-card p{display:none}.project-card-top{margin-bottom:14px}.project-card-footer{display:block;line-height:1.5}.project-summary{gap:8px}.summary-item{padding:14px}.summary-item strong{font-size:17px}.form-grid{grid-template-columns:1fr}.modal{padding:20px}.breadcrumbs{gap:7px;font-size:12px}.breadcrumbs span:first-child,.slash{display:none}.attachment-grid{grid-template-columns:1fr}}@media(max-width:370px){.project-grid{grid-template-columns:1fr}.top-actions .button{font-size:11px}.stat-grid{gap:8px}}

/* reference collections */
.item-open{display:block;width:100%;padding:0;border:0;background:transparent;text-align:left;color:inherit}
.item-card-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #eef1f4;margin-top:12px;padding-top:9px;color:#9aa6b3;font-size:12px}
.reference-quick{border:0;background:transparent;color:#237a67;font-size:12px;font-weight:750;padding:4px 0}
.reference-quick:hover{text-decoration:underline}
.reference-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px;flex-wrap:wrap}
.reference-controls{display:flex;gap:8px;flex-wrap:wrap}
.reference-heading h3{margin:0 0 5px}
.reference-heading .field-hint{margin:0}
.reference-editor-row{border:1px solid #e4eaf0;border-radius:10px;padding:13px;margin:10px 0;background:#fbfcfd}
.reference-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr) 32px;align-items:end;gap:9px}
.reference-fields .remove-reference{color:#a45761;background:#fff;border:1px solid #edf0f3;height:39px;width:32px;font-size:21px}
.reference-preview{margin-top:11px}
.reference-preview:empty{display:none}
.reference-preview .video-frame{display:block;max-width:560px}
.reference-view-list{display:grid;gap:12px}
.reference-view{border:1px solid #e6ebf0;border-radius:9px;padding:12px;min-width:0}
.reference-view strong{display:block;margin-bottom:9px;font-size:13px;overflow-wrap:anywhere}
.reference-view .video-frame{display:block}
@media(max-width:620px){.reference-heading{align-items:center}.reference-fields{grid-template-columns:minmax(0,1fr) 32px}.reference-fields .field:first-child{grid-column:1/-1}}

.video-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.video-toolbar h2{font-size:20px;margin:0 0 7px}.video-toolbar p{font-size:14px;color:#78879a;margin:0}.video-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.video-card{background:white;border:1px solid #e2e8ef;border-radius:12px;overflow:hidden;min-width:0}.video-card>.video-frame{display:block;border-radius:0;min-height:200px}.video-card-body{padding:16px}.video-origin{font-size:12px;color:#789080}.video-card h3{margin:7px 0 16px;font-size:16px;overflow-wrap:anywhere}.video-card-actions{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}.video-card-actions>div{display:flex;align-items:center;gap:5px}.video-position{font-size:12px;color:#8a96a4;margin-left:4px}.project-tabs{flex-wrap:wrap}.video-card>.field-hint{padding:24px}@media(max-width:950px){.video-gallery{grid-template-columns:1fr}}@media(max-width:540px){.video-toolbar{align-items:flex-start;flex-direction:column}}
.auth-screen{position:fixed;inset:0;z-index:1000;background:#f7f8fa;display:grid;place-items:center;padding:24px;overflow:auto}.auth-screen.hidden{display:none}.auth-card{background:#fff;border:1px solid #e4e9ef;border-radius:20px;box-shadow:0 20px 60px #11182714;width:min(100%,440px);padding:32px}.auth-card h1{margin:0 0 8px;font-size:30px}.auth-card p{color:#64748b;line-height:1.5}.auth-card .field{margin:14px 0}.auth-card .button{width:100%;justify-content:center;margin-top:10px}.team-panel{padding:24px;margin-top:20px}.team-panel h2{margin:0 0 10px}.team-list,.team-feed{display:grid;gap:10px;margin-top:18px}.team-row,.feed-row{border:1px solid #e4e9ef;border-radius:12px;padding:12px;background:#fff}.team-row{display:flex;justify-content:space-between;gap:12px}.team-row small,.feed-row small{color:#8492a6}.team-tools{display:flex;gap:10px;flex-wrap:wrap;align-items:end;margin-top:18px}.team-tools select{min-width:140px}.team-tools .button{height:42px}.chat-feed{height:min(56vh,520px);overflow:auto;display:flex;flex-direction:column;gap:10px;margin:16px 0}.chat-bubble{max-width:80%;align-self:flex-start;background:#f2f5f9;border-radius:14px;padding:10px 14px;white-space:pre-wrap;overflow-wrap:anywhere}.chat-bubble.mine{align-self:flex-end;background:#e2f5ed}.chat-bubble strong{display:block;font-size:12px;margin-bottom:4px}.chat-compose{display:flex;gap:8px}.chat-compose input{flex:1}.comment-list{display:grid;gap:8px;margin:12px 0}.comment{padding:10px 12px;border-radius:12px;background:#f4f6f8;white-space:pre-wrap;overflow-wrap:anywhere}.comment strong{display:block;font-size:12px;margin-bottom:4px}.notice-unread{border-color:#4ba98f}.sync-warning{color:#a04f19}.account-name{font-weight:700}.team-hint{font-size:13px;color:#8492a6;margin:10px 0}
