:root{--green:#4496a4;--green-dark:#276e79;--blue:#1100d9;--orange:#f8d1b2;--ink:#183141;--muted:#667984;--line:#dce8e9;--bg:#f4f8f8;--paper:#fff;--danger:#9a2d37;--radius:18px;--shadow:0 16px 44px rgba(18,64,75,.06);font-family:"Acumin Pro Wide","Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--bg)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:var(--green-dark);text-decoration:none}a:hover{text-decoration:underline}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--blue);outline-offset:3px}img{max-width:100%}.site-header{height:88px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(18px,4vw,64px);background:#fff;border-bottom:1px solid var(--line);gap:24px}.brand{display:flex;align-items:center;gap:20px;color:var(--ink);font-weight:800;font-size:20px;white-space:nowrap}.brand:hover{text-decoration:none}.brand img{width:145px;height:72px;object-fit:contain;object-position:left center}.brand span{border-left:1px solid var(--line);padding-left:20px}.site-header nav{display:flex;align-items:center;gap:24px;font-size:14px;font-weight:700}.site-header nav a{white-space:nowrap}.user-name{color:var(--muted);font-weight:500}.dashboard{max-width:1620px;margin:0 auto;padding:30px clamp(18px,3vw,48px) 50px;display:grid;grid-template-columns:minmax(300px,1.12fr) minmax(340px,.88fr);gap:24px;align-items:start}.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:30px}.workplan{grid-row:span 2;min-height:760px}.right-column{display:grid;gap:24px;min-width:0}.eyebrow{color:var(--green-dark);text-transform:uppercase;font-size:11px;font-weight:800;letter-spacing:.15em;margin:0 0 8px}.panel-heading{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid var(--line);padding-bottom:24px;margin-bottom:24px}.panel-heading h1,h1,h2,h3,p{margin-top:0}.panel-heading h1{font-size:clamp(28px,3vw,42px);line-height:1.08;margin-bottom:0}.heading-mark{width:58px;height:58px;object-fit:contain}.search label{font-size:13px;color:var(--muted);font-weight:700;display:block;margin-bottom:9px}.search-row{display:flex;border:1px solid #b8d2d6;border-radius:12px;overflow:hidden;background:#fff}.search-row:focus-within{outline:2px solid var(--green)}.search-row input{width:100%;border:0;padding:13px 15px;outline:0;min-width:0}.search-row button{border:0;background:var(--green-dark);color:#fff;font-weight:800;padding:0 20px}.section-title{display:flex;justify-content:space-between;align-items:center;gap:16px}.section-title h2{font-size:22px;margin:0}.section-title>span,.section-title>a:not(.button){color:var(--muted);font-size:13px}.tree-title{margin:30px 0 14px}.tree-level{list-style:none;padding:0;margin:0}.tree-level .tree-level{margin-left:30px;padding-left:15px;border-left:1px solid var(--line)}.tree-item{margin:2px 0}.tree-item summary{display:flex;align-items:center;gap:10px;list-style:none;padding:7px 8px;border-radius:9px;cursor:pointer}.tree-item summary::-webkit-details-marker{display:none}.tree-item summary:hover,.tree-link:hover{background:#eaf5f6;text-decoration:none}.tree-item.is-selected>details>summary{background:#e1f1f2}.tree-item summary a,.tree-link{display:flex;align-items:center;gap:10px;min-width:0;color:var(--ink);font-size:14px;font-weight:650}.tree-item summary a span:last-child,.tree-link span:nth-child(2){overflow-wrap:anywhere}.chevron{width:8px;height:8px;border:solid var(--green-dark);border-width:0 2px 2px 0;transform:rotate(-45deg);transition:transform .2s;flex:none}.tree-item details[open]>summary .chevron{transform:rotate(45deg)}.tree-link{padding:7px 8px 7px 26px;border-radius:9px}.tree-icon{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:28px;border-radius:6px;background:#e6f3f5;color:#236b79;font-size:9px;font-weight:900;letter-spacing:.02em;flex:none}.tree-link .tree-icon{background:#f0f2ff;color:#3122aa}.badge{display:inline-flex;align-items:center;border-radius:999px;padding:4px 8px;background:#e8f7ed;color:#226440;font-size:10px;font-weight:800;white-space:nowrap}.badge-changed{background:#fff1df;color:#8c4a12}.search-results{margin:24px 0;border-bottom:1px solid var(--line);padding-bottom:20px}.search-results .section-title{margin-bottom:10px}.search-results .section-title h2{font-size:17px}.result{display:flex;gap:10px;align-items:center;padding:10px;border-radius:9px}.result:hover{background:#f3f8f8;text-decoration:none}.result span:last-child{display:flex;flex-direction:column;gap:3px}.result small,.folder-row small,.list-row small{display:block;color:var(--muted);font-size:12px;font-weight:400}.favorites .section-title,.spotlight .section-title{margin-bottom:20px}.favorites .count{display:grid;place-items:center;width:32px;height:32px;background:#e1f1f2;border-radius:50%;color:var(--green-dark);font-weight:800}.tile-grid{max-height:290px;overflow:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.favorite-tile{border:1px solid var(--line);border-radius:12px;min-width:0;background:#fbfdfd}.favorite-tile>a{display:flex;align-items:center;flex-direction:column;gap:10px;text-align:center;color:var(--ink);padding:14px 8px 7px;font-size:12px;font-weight:700;overflow-wrap:anywhere}.tile-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;color:#fff;background:var(--green-dark);font-size:10px;font-weight:900}.tile-controls{display:flex;justify-content:center;border-top:1px solid var(--line);padding:3px}.tile-controls button{background:none;border:0;color:var(--muted);font-size:15px;padding:3px 8px}.tile-controls button:hover{color:var(--blue)}.spotlight .section-title img{width:40px;height:40px;object-fit:contain}.spotlight-scroll{max-height:564px;overflow-y:auto;display:grid;gap:12px}.spotlight-card{border:1px solid var(--line);border-radius:13px;overflow:hidden;display:flex;min-height:132px;background:#fbfdfd}.spotlight-card>img{width:34%;object-fit:cover}.spotlight-copy{padding:18px;flex:1}.spotlight-copy h3{font-size:18px;margin:8px 0}.spotlight-copy p{font-size:13px;line-height:1.55;color:var(--muted);margin:0 0 12px}.spotlight-copy a{font-size:12px;font-weight:800}.spotlight-label{background:var(--orange);color:#654123}.folder-content{grid-column:1/-1;padding:30px 34px}.folder-content .section-title{margin-bottom:12px}.folder-content .section-title h2{font-size:26px}.folder-description{font-size:15px;line-height:1.7;max-width:85ch;color:#4a6570}.folder-actions{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0 22px}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:1px solid transparent;border-radius:9px;padding:11px 16px;font-size:13px;font-weight:800;line-height:1.2;min-height:40px}.button:hover{text-decoration:none;filter:brightness(.95)}.button.primary{background:var(--green-dark);color:#fff}.button.subtle{border-color:#b9d8db;background:#f1f9f9;color:var(--green-dark)}.button.danger{background:var(--danger);color:#fff}.folder-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.folder-row{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:10px;padding:8px 12px;min-width:0}.folder-row>a:first-child{display:flex;gap:12px;align-items:center;min-width:0;flex:1;color:var(--ink)}.folder-row>a:first-child span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis}.folder-row button{border:0;background:none;color:var(--green-dark);font-size:22px}.row-action{font-size:12px;font-weight:700}.empty{color:var(--muted);font-size:14px;line-height:1.6;margin:12px 0}.login-screen{min-height:calc(100vh - 88px);display:grid;place-items:center;padding:30px;background:radial-gradient(circle at 80% 20%,#e5f1f2,transparent 35%),var(--bg)}.login-card{max-width:540px;text-align:center;padding:52px;background:#fff;border-radius:24px;box-shadow:var(--shadow)}.login-card h1{font-size:38px;line-height:1.12}.login-card p:not(.eyebrow){line-height:1.6;color:var(--muted)}.login-card .button{margin:22px auto}.login-card small{display:block;color:var(--muted)}.login-shape{width:110px;height:110px;object-fit:contain;margin-bottom:24px}.form-page,.admin-page,.message-page{max-width:1400px;margin:0 auto;padding:32px clamp(18px,3vw,48px) 70px}.form-page>a:first-child,.message-page>a:first-child{display:inline-block;margin-bottom:22px;font-weight:700;font-size:13px}.form-columns,.admin-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,1fr);gap:24px;align-items:start}.form-page h1,.admin-heading h1,.message-page h1{font-size:38px;margin:0 0 20px}.form-page h2{font-size:20px}.stacked-form{display:grid;gap:16px;margin:20px 0}.field{display:grid;gap:7px;font-size:13px;font-weight:700}.field input,.field select,.field textarea,.inline-form input{width:100%;padding:11px 12px;border:1px solid #c7d9dc;border-radius:8px;background:#fff;color:var(--ink);font-weight:400}.field textarea{resize:vertical;line-height:1.5}.stacked-form>.button{justify-self:start}.hint{color:var(--muted);font-size:12px;line-height:1.6}.inline-form{display:flex;gap:8px;align-items:end;margin:10px 0}.inline-form button{white-space:nowrap;padding:10px 12px;border:1px solid #b9d8db;background:#f1f9f9;border-radius:8px;color:var(--green-dark);font-weight:700}.inline-form .field{flex:1}.checkboxes{display:grid;gap:9px;margin:10px 0}.checkboxes label{font-size:13px}.plain-list{list-style:none;padding:0}.plain-list li{padding:9px 0;border-bottom:1px solid var(--line)}.plain-list small{display:block;color:var(--muted);font-size:11px}.admin-heading{margin:10px 0 26px}.admin-heading p:last-child{color:var(--muted)}.admin-tabs{display:flex;overflow-x:auto;gap:8px;margin-bottom:24px;padding-bottom:6px}.admin-tabs a{white-space:nowrap;padding:10px 14px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--muted);font-weight:700;font-size:12px}.admin-tabs a.active{color:#fff;background:var(--green-dark);border-color:var(--green-dark)}.admin-page .panel{margin-bottom:22px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:13px}th,td{text-align:left;padding:13px;border-bottom:1px solid var(--line);vertical-align:top}th{color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.07em}td small{display:block;color:var(--muted);max-width:380px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.status{display:inline-block;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:800}.status-draft{background:#fff0d8;color:#835216}.status-published{background:#e4f5e9;color:#28663d}.status-archived{background:#e9eef0;color:#586970}.admin-card{border:1px solid var(--line);border-radius:10px;margin:14px 0;padding:14px}.admin-card summary{font-weight:800;cursor:pointer}.admin-card .stacked-form{max-width:760px}.list-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);font-size:13px;flex-wrap:wrap}.scroll-list{max-height:580px;overflow:auto}.message-page{max-width:900px}.lead{color:var(--muted);font-size:18px}.message-body{line-height:1.75;white-space:normal}.error-box{max-width:700px;margin:8vh auto;padding:30px}.error-box pre{white-space:pre-wrap}.type-indicator{color:var(--muted)}fieldset{border:1px solid var(--line);border-radius:8px}legend{font-size:13px;font-weight:700}hr{border:0;border-top:1px solid var(--line);margin:24px 0}
@media(max-width:1000px){.dashboard{grid-template-columns:1fr}.workplan{grid-row:auto;min-height:0}.right-column{grid-row:2;grid-template-columns:1fr 1fr}.folder-content{grid-column:1}.tile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.site-header{height:auto;min-height:80px;flex-wrap:wrap;padding-top:10px;padding-bottom:10px}.site-header nav{flex-wrap:wrap;gap:14px}}
@media(max-width:700px){.dashboard{padding:14px;gap:14px}.panel{padding:21px}.right-column,.form-columns,.admin-grid{grid-template-columns:1fr}.folder-list{grid-template-columns:1fr}.site-header nav{font-size:12px}.brand img{width:115px}.brand span{font-size:15px;padding-left:12px}.folder-content{padding:21px}.login-card{padding:30px}.login-card h1{font-size:30px}.admin-page,.form-page{padding:22px 14px}.spotlight-card>img{width:28%}}
.favorites.drop-ready{outline:3px dashed var(--green);outline-offset:4px}.item-context-menu{position:fixed;z-index:100;background:#fff;box-shadow:0 14px 35px rgba(0,0,0,.18);border:1px solid var(--line);border-radius:9px;padding:5px}.item-context-menu button{display:block;border:0;background:transparent;padding:9px 13px;color:var(--ink);font-size:13px;text-align:left}.item-context-menu button:hover{background:#eaf5f6}.drive-preview{border:1px solid #ecd5b8;background:#fff9f0;border-radius:9px;padding:13px;font-size:13px}.drive-preview p{margin-bottom:8px}
.sync-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.sync-overview .panel{display:grid;gap:8px;margin:0}.sync-overview small{color:var(--muted)}.sync-overview strong{overflow-wrap:anywhere}@media(max-width:700px){.sync-overview{grid-template-columns:1fr}}
.tree-item{position:relative}.tree-item>details>summary,.tree-item>.tree-link{padding-right:46px}.tree-favorite-form{position:absolute;right:3px;top:2px}.tree-favorite-form button{width:30px;height:30px;border:0;border-radius:7px;background:#fff;color:var(--green-dark);font-size:20px;line-height:1}.tree-favorite-form button:hover{background:#e1f1f2}.message-dialog{width:min(650px,calc(100vw - 28px));max-height:calc(100vh - 48px);overflow:auto;border:1px solid var(--line);border-radius:16px;padding:30px;box-shadow:0 24px 80px rgba(18,64,75,.22);color:var(--ink)}.message-dialog::backdrop{background:rgba(12,35,45,.55)}.message-dialog h2{font-size:28px;margin:0 0 12px}.message-summary{color:var(--muted);line-height:1.6}.message-text{white-space:pre-wrap;line-height:1.7}.message-close{float:right;border:0;background:#e1f1f2;border-radius:8px;width:36px;height:36px;font-size:24px;color:var(--green-dark)}



.login-title-line{white-space:nowrap}@media(max-width:700px){.login-card h1{font-size:clamp(22px,7vw,30px)}}

.workplan{grid-row:auto;min-height:0}
.selected-folder{margin:24px 0 0;padding:18px 0 4px;border-top:1px solid var(--line)}
.selected-folder-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.selected-folder-heading h2{font-size:20px;margin:0}
.selected-folder .folder-description{margin:12px 0 0}
.selected-folder+.tree-title{margin-top:22px}
.tree-title{justify-content:flex-end}

.acl-page .panel{margin-bottom:22px}
.acl-page .panel h2{margin-bottom:12px}
.acl-page .panel>p{line-height:1.6}
.acl-source{background:#eef7f8;border-left:4px solid var(--green);padding:12px 15px;border-radius:0 8px 8px 0}
.acl-table{min-width:670px;margin:16px 0 18px}
.acl-table caption{text-align:left;font-size:12px;color:var(--muted);padding-bottom:7px}
.acl-table th[scope=row]{min-width:230px;width:35%;font-weight:700}
.acl-table th[scope=row] small{display:block;color:var(--muted);font-size:11px;font-weight:400;margin-top:4px}
.acl-table td:not(:first-child),.acl-table th[scope=col]:not(:first-child){text-align:center}
.acl-yes{color:#1f6743;font-weight:800;white-space:nowrap}
.acl-no{color:#667c82;white-space:nowrap}
.acl-check{display:inline-flex;align-items:center;justify-content:center;min-width:38px;min-height:38px;cursor:pointer}
.acl-check input{width:21px;height:21px;accent-color:var(--green-dark);cursor:pointer}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.bulk-filters,.bulk-selection{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:18px 0}
.bulk-filters label{display:grid;gap:6px;font-size:12px;font-weight:700;color:var(--muted)}
.bulk-filters input,.bulk-filters select,.bulk-action-panel select{border:1px solid #c7d9dc;border-radius:8px;background:#fff;padding:10px 12px;color:var(--ink)}
.bulk-filters input{min-width:min(320px,80vw)}
.bulk-selection{align-items:center}
.bulk-selection .button{padding:8px 12px;min-height:36px}
.bulk-selection strong{color:var(--green-dark);font-size:13px}
.content-table th:first-child,.content-table td:first-child{width:75px;text-align:center}
.content-table input[type=checkbox]{width:20px;height:20px;accent-color:var(--green-dark)}
.content-table tr[hidden]{display:none}
.content-table td small{white-space:normal;max-width:540px}
.bulk-action-panel{border-top:1px solid var(--line);margin-top:22px;padding-top:24px;max-width:1000px}
.bulk-action-panel h3{font-size:19px;margin-bottom:14px}
.bulk-action-panel>.field{max-width:440px}
.bulk-action-panel [data-bulk-for]:not([hidden]){margin:18px 0;padding:18px;border:1px solid var(--line);border-radius:10px;background:#f8fbfb}
.bulk-action-panel .acl-table{background:#fff}
.bulk-action-panel>.button{margin-top:8px}
