:root{font-family:Inter,"Segoe UI","Microsoft JhengHei",sans-serif;color:#294638;background:#f4f7f2;font-synthesis:none;--green:#204d3b;--line:#e1e8d9;--muted:#7d9270;--accent:#d37c55}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer;border:0;background:none;color:inherit}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,input:focus-visible,a:focus-visible,textarea:focus-visible{outline:3px solid #d6a281;outline-offset:3px}a{color:inherit;text-decoration:none}h1,h2,p{margin:0}h1{font-size:28px;font-weight:620;letter-spacing:-.6px;line-height:1.5}h2{font-size:19px;font-weight:600}p{line-height:1.9}[hidden]{display:none!important}.svg-library{position:absolute;width:0;height:0;overflow:hidden}.icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;vertical-align:middle}.brand{display:flex;align-items:center;gap:11px}.brand>.icon{width:30px;height:30px;padding:5px;border:1px solid #7a9a7b77;border-radius:8px;color:#aac496}.brand strong{font-size:31px;font-weight:650;letter-spacing:-1.7px;line-height:1}.brand strong span{color:#e4a17a}.brand-caption{font-size:11px;color:#9fb88f;padding-left:11px;margin-left:6px;border-left:1px solid #7f9c6c66;letter-spacing:1px}.eyebrow{display:block;font-size:10px;letter-spacing:2px;color:#91a180;font-weight:600;margin-bottom:10px}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:39px;padding:9px 15px;border-radius:7px;font-size:13px;font-weight:550;white-space:nowrap}.primary{background:var(--accent);color:#fff}.primary:hover{background:#c06b44}.secondary{background:#fff;border:1px solid #dce5d1;color:#738c5e}.secondary:hover{background:#f7faf1;border-color:#b3c49b}.primary .icon,.secondary .icon{width:17px;height:17px}.text-button{font-size:12px;color:#7c9565;padding:5px;white-space:nowrap}.text-button:hover{color:#bd8051}.icon-button{display:grid;place-items:center;width:32px;height:32px;border-radius:6px;color:#8fa47b;flex-shrink:0}.icon-button:hover{background:#edf4e4}.icon-button .icon{width:18px;height:18px}.workspace{min-height:100dvh}.header{height:77px;padding:0 32px;background:#204637;color:#e1ecd5;display:flex;align-items:center;justify-content:space-between;gap:20px}.account{display:flex;align-items:center;gap:14px;font-size:12px;color:#b7cca3}.account>.icon-button{color:#acc799}.account>.icon-button:hover{background:#315b43}.login-state{padding:4px 7px;border:1px solid #72936266;border-radius:4px;background:#2e553e;font-size:10px;color:#a8c190;white-space:nowrap}.layout{display:grid;grid-template-columns:247px minmax(0,1fr);max-width:1600px;margin:auto;min-height:calc(100dvh - 77px)}.sidebar{padding:29px 19px 20px;border-right:1px solid #dfe7d5;background:#fafcf6}.sidebar-title{display:flex;align-items:center;justify-content:space-between;color:#81976e;font-size:12px;margin:0 7px 18px}.sidebar-title .icon-button{width:27px;height:27px}.sidebar-title .icon{width:15px;height:15px}.grant-list{display:grid;gap:9px}.grant-item{display:flex;align-items:center;gap:11px;padding:14px 12px;text-align:left;width:100%;border:1px solid transparent;border-radius:8px;color:#80986a}.grant-item:hover{background:#f1f6e8}.grant-item.active{background:#eaf2df;border-color:#d8e5c5;color:#547d3e}.grant-icon{display:grid;place-items:center;width:30px;height:32px;flex-shrink:0}.grant-icon .icon{width:23px;height:23px;stroke-width:1.4}.grant-item-description{min-width:0}.grant-item-description strong{display:block;font-size:13px;font-weight:550;overflow-wrap:anywhere;line-height:1.7}.grant-item-description small{display:block;font-size:10px;color:#98ac81;margin-top:4px;line-height:1.7}.sidebar-note{font-size:10px;color:#9aab87;line-height:1.95;margin:26px 10px 0;padding-top:19px;border-top:1px solid #e3ebd9}.sidebar-empty{font-size:12px;color:#94a67f;padding:15px 9px;line-height:1.8}main{min-width:0;padding:36px 35px 20px}.heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:27px}.heading p{font-size:13px;color:#82976e;margin-top:9px}.heading .eyebrow{font-size:9px;margin-bottom:8px}.mode-badge{display:inline-flex;align-items:center;padding:5px 10px;white-space:nowrap;font-size:11px;border-radius:5px;color:#739653;border:1px solid #dbe8c8;background:#eef6e3;margin-top:24px}.mode-badge.readonly{background:#edf3f5;border-color:#dae5e9;color:#7b99a6}.mode-badge.writeonly{background:#fff4e5;border-color:#eed9bb;color:#ad8656}.notice{padding:13px 16px;border:1px solid #d8e5c9;background:#eff6e6;color:#7b965f;font-size:12px;line-height:1.9;border-radius:7px;margin-bottom:20px;overflow-wrap:anywhere}.notice.error-notice{background:#fff2e9;border-color:#ebd0bc;color:#b1774d}.file-panel{position:relative;background:#fff;border:1px solid var(--line);border-radius:11px;overflow:hidden}.toolbar{display:flex;align-items:center;gap:10px;padding:20px}.toolbar>.icon-button{margin-left:auto}.toolbar-note{font-size:12px;color:#91a57c;line-height:1.8}.delivery-note{display:flex;align-items:center;gap:15px;padding:19px 21px;background:#fff7eb;border-bottom:1px solid #efe2ce;color:#bb9668}.delivery-note>.icon{width:25px;height:25px}.delivery-note strong{font-size:13px;font-weight:550;color:#ad8858}.delivery-note p{font-size:11px;line-height:1.8;color:#b6a079;margin-top:5px}.path-bar{display:flex;align-items:center;gap:10px;background:#fafcf6;border-block:1px solid #e9efdf;padding:5px 12px;min-height:42px}.path-bar>.icon-button{width:28px;height:28px}.path-bar>.text-button{font-size:11px}.path-bar>span{font-size:11px;color:#b1bfa1}.path-bar>span:last-child{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#839c6c;font-size:12px}.table-wrap{min-height:380px;max-height:630px;overflow:auto}table{width:100%;border-collapse:collapse;table-layout:fixed;text-align:left}thead{position:sticky;top:0;background:#fff;z-index:1}th{font-size:11px;font-weight:500;color:#91a57b;padding:15px 12px;border-bottom:1px solid #ecf1e4}th:first-child,td:first-child{padding-left:21px}td{font-size:13px;padding:13px 12px;border-bottom:1px solid #f0f4e9}tr:hover td{background:#f9fcf3}.modified-col{width:135px;text-align:right;color:#9bad87;font-size:11px}.size-col{width:87px;text-align:right;color:#8ea276;font-size:11px}.actions-col{width:100px;text-align:right;padding-right:17px}.file-name{display:flex;align-items:center;gap:11px;min-width:0}.file-icon{display:grid;place-items:center;flex-shrink:0;width:28px;height:30px;color:#a0b785}.file-icon>.icon{width:21px;height:21px;stroke-width:1.4}.file-name-button{padding:0;text-align:left;display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;color:#557746;line-height:1.8}.file-name-button:hover{color:#bc8857}.row-action{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:6px;color:#96ad7d;vertical-align:middle}.row-action:hover{background:#edf5e1;color:#719a4e}.row-action>.icon{width:17px;height:17px}.empty-content{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:68px 28px;color:#9eb38b;text-align:center}.empty-content>.icon{width:36px;height:36px;stroke-width:1.3;margin-bottom:19px;color:#b7c7a2}.empty-content>strong{font-size:14px;font-weight:500;color:#819c69}.empty-content>p{font-size:12px;color:#9aac87;line-height:1.9;margin-top:10px;max-width:440px}.delivery-only table{display:none}.delivery-only .empty-content{padding:75px 30px}.panel-footer{display:flex;align-items:center;justify-content:space-between;padding:13px 20px;border-top:1px solid #e7eedc;color:#99ac83;font-size:11px;gap:13px}.upload-status{margin:0 20px 18px;padding:11px 13px;border:1px solid #dce8cd;background:#f3f8eb;border-radius:7px}.upload-status>div{display:flex;align-items:center;justify-content:space-between;gap:13px}.upload-status>div>span{font-size:11px;line-height:1.8;color:#839e68;overflow-wrap:anywhere}.upload-status>.text-button{font-size:11px}.upload-status progress{display:block;width:100%;height:5px;margin-top:8px;accent-color:#99b77c}.drop-overlay{position:absolute;inset:0;z-index:5;background:#f5faeef5;border:2px dashed #a6bf86;border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;color:#809f60;pointer-events:none}.drop-overlay>.icon{width:43px;height:43px;margin-bottom:9px}.drop-overlay strong{font-size:23px;font-weight:550}.drop-overlay span{font-size:12px}.empty-card{padding:70px 30px;background:#fff;border:1px solid var(--line);border-radius:11px;text-align:center}.empty-card>.icon{width:45px;height:45px;color:#b3c69b;stroke-width:1.2;margin-bottom:24px}.empty-card h2{font-size:19px;color:#819b6b}.empty-card p{font-size:13px;color:#9aad87;margin-top:13px}footer{font-size:10px;color:#a4b590;margin-top:24px;padding:0 2px;line-height:1.8}dialog{width:450px;max-width:calc(100vw - 30px);max-height:calc(100dvh - 36px);overflow:auto;padding:27px;border:1px solid #dde7d1;border-radius:13px;color:#597b43;box-shadow:0 22px 100px #20431633}dialog::backdrop{background:#173b2666;backdrop-filter:blur(4px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:19px}.dialog-heading h2{font-size:18px;font-weight:550;overflow-wrap:anywhere}.close-button{display:grid;place-items:center;width:29px;height:29px;border-radius:6px;font-size:25px;line-height:1;color:#9ab282;flex-shrink:0}.close-button:hover{background:#f0f6e7}dialog label,.login-card label{display:block;font-size:12px;color:#8aa16f;line-height:1.8;margin:19px 0}dialog input,.login-card input:not([type=checkbox]){display:block;width:100%;font-size:14px;padding:12px;margin-top:8px;border:1px solid #dce6ce;background:#fbfdf8;border-radius:7px;color:#638548}.error{font-size:12px;color:#ba835a;min-height:19px;line-height:1.8}.dialog-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:15px}.dialog-actions>.primary,.dialog-actions>.secondary{font-size:12px;min-height:37px}.player-dialog{width:1000px;padding:0;background:#fafdf5}.player-dialog>.dialog-heading{padding:19px 22px;margin:0}.player-dialog h2{font-size:15px}.player-stage{display:flex;align-items:center;justify-content:center;background:#18251b;min-height:300px}.player-stage video{display:block;width:100%;max-height:66dvh;min-height:280px}.player-stage audio{width:85%;margin:100px 0}.player-stage img{display:block;max-width:100%;max-height:67dvh;object-fit:contain}.player-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 22px}.player-footer p{font-size:12px;color:#8ba570;line-height:1.8}.player-footer>.secondary{font-size:11px;min-height:35px;padding:8px 12px}.editor-dialog{width:950px}.editor-dialog textarea{display:block;width:100%;height:58dvh;resize:vertical;background:#fbfdf8;border:1px solid #dfe8d4;border-radius:7px;padding:16px;font:13px/1.8 Consolas,"Microsoft JhengHei",monospace;color:#67874e;tab-size:2}.editor-dialog textarea[readonly]{background:#f5f8ef}.editor-dialog .dialog-actions>span{margin-right:auto;font-size:11px;color:#8ba673;line-height:1.8}.login-screen{min-height:100dvh;display:grid;place-items:center;padding:30px;background:radial-gradient(ellipse at 18% 18%,#dfead4,transparent 65%),#f3f7ed}.login-card{max-width:100%;width:410px;padding:35px;background:#fff;border:1px solid #e0e9d4;border-radius:14px;box-shadow:0 18px 80px #2043160b}.login-card .brand{margin-bottom:39px;color:#35603f}.login-card .brand>.icon{color:#8aab72}.login-card .eyebrow{font-size:9px}.login-card h1{font-size:25px;margin:13px 0 12px;color:#53783f}.login-card>p{font-size:12px;color:#91a47f;line-height:1.9;margin-bottom:25px}.login-card label{margin:17px 0}.login-card .checkbox-label{display:flex;align-items:center;gap:9px;font-size:11px;line-height:1.8;margin:23px 0}.checkbox-label input{width:14px;height:14px;margin:0;accent-color:#c88d60}.login-card>.primary{width:100%;justify-content:space-between;min-height:43px;margin-bottom:0}.login-card .error{margin:13px 0 0;color:#b97d50;min-height:19px}
@media(min-width:1600px){main{padding-top:44px}.table-wrap{min-height:440px}.heading h1{font-size:30px}}
@media(max-width:1100px){.header{padding:0 25px}.layout{grid-template-columns:215px minmax(0,1fr)}main{padding:29px 25px 20px}.sidebar{padding:25px 14px}.grant-item{padding:13px 10px;gap:8px}.grant-item-description strong{font-size:12px}.modified-col{width:112px;font-size:10px}.size-col{width:73px;font-size:10px}.actions-col{width:84px;padding-right:12px}.row-action{width:28px}.file-name{gap:8px}.file-name-button{font-size:12px}.heading p{font-size:12px}.heading h1{font-size:26px}}
@media(max-width:800px){.layout{grid-template-columns:180px minmax(0,1fr)}.sidebar{padding:23px 11px}.sidebar-title{font-size:11px;margin:0 5px 15px}.grant-item{padding:12px 8px;gap:7px}.grant-icon{width:23px}.grant-icon .icon{width:20px;height:20px}.grant-item-description small{font-size:9px}.sidebar-note{font-size:9px;margin:23px 7px 0}.modified-col{display:none}main{padding:27px 20px 18px}.header{padding:0 20px;height:68px}.brand-caption{display:none}.toolbar{padding:17px;gap:8px}.toolbar .primary,.toolbar .secondary{font-size:11px;padding:8px 11px;min-height:35px}.table-wrap{min-height:360px}.size-col{width:70px}.actions-col{width:78px}.heading{gap:12px}.heading h1{font-size:24px}.heading .eyebrow{font-size:8px}.heading p{font-size:11px}.mode-badge{font-size:10px;padding:4px 7px}.file-name-button{font-size:12px}.player-footer{flex-direction:column;align-items:flex-start;gap:13px}}
@media(max-width:600px){.header{height:auto;min-height:68px;padding:17px 19px;gap:15px;flex-wrap:wrap}.brand strong{font-size:28px}.brand>.icon{width:28px;height:28px}.account{font-size:11px;gap:8px}.account>.icon-button{width:25px;height:28px}.login-state{font-size:8px;padding:4px 5px}.layout{display:block}.sidebar{border-right:0;border-bottom:1px solid #dfe8d3;padding:17px 17px 13px}.sidebar-title{font-size:11px;margin:0 2px 10px}.grant-list{display:flex;overflow:auto;gap:8px;padding-bottom:3px;scrollbar-width:thin}.grant-item{width:auto;min-width:155px;max-width:240px;flex-shrink:0;padding:11px 12px;border:1px solid #e6edda;border-radius:7px}.grant-item-description strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:170px}.grant-item-description small{font-size:10px}.sidebar-note{display:none}main{padding:24px 17px 18px}.heading{margin-bottom:21px}.heading h1{font-size:24px}.heading p{font-size:12px}.mode-badge{font-size:10px;line-height:1.6;margin-top:23px;white-space:normal;text-align:center}.toolbar{padding:17px 14px;gap:8px;flex-wrap:wrap}.toolbar .primary,.toolbar .secondary{font-size:12px;min-height:35px;padding:8px 11px}.toolbar-note{font-size:11px}.delivery-note{padding:16px 15px;gap:11px}.delivery-note strong{font-size:12px}.delivery-note p{font-size:11px}.delivery-note>.icon{width:22px;height:22px}.path-bar{padding:5px 9px;gap:7px}.path-bar>span:last-child{font-size:11px}th{padding:13px 7px;font-size:10px}td{padding:12px 7px}.size-col{width:59px;font-size:10px}.actions-col{width:71px;padding-right:8px}.file-name{gap:7px}.file-icon{width:24px}.file-icon>.icon{width:19px;height:19px}.file-name-button{font-size:12px}th:first-child,td:first-child{padding-left:14px}.row-action{width:27px;height:29px}.row-action .icon{width:16px;height:16px}.table-wrap{min-height:340px;max-height:540px}.panel-footer{font-size:10px;padding:12px 14px;align-items:flex-start;gap:11px}.panel-footer>span:last-child{text-align:right}.empty-content{padding:55px 22px}.empty-content>strong{font-size:13px}.empty-content>p{font-size:11px}.upload-status{margin:0 13px 15px;padding:10px 11px}.upload-status>div>span{font-size:10px}.upload-status .text-button{font-size:10px}.notice{font-size:11px;padding:11px 13px}.player-dialog{max-width:calc(100vw - 20px)}.player-dialog>.dialog-heading{padding:16px}.player-dialog h2{font-size:13px}.player-stage{min-height:220px}.player-stage video{min-height:210px;max-height:58dvh}.player-stage audio{margin:80px 0}.player-footer{padding:16px;gap:12px}.player-footer p{font-size:11px}.player-footer>.secondary{font-size:11px}.editor-dialog{padding:20px;max-width:calc(100vw - 22px)}.editor-dialog textarea{font-size:12px;padding:12px}.editor-dialog .dialog-actions{flex-wrap:wrap}.editor-dialog .dialog-actions>span{width:100%;font-size:10px}.empty-card{padding:55px 25px}.empty-card h2{font-size:17px}.empty-card p{font-size:12px}.login-card{padding:29px;max-width:100%}.login-card h1{font-size:23px}.login-card .brand{margin-bottom:32px}footer{font-size:10px}}
/* Folder rows use their full visual area without changing embedded controls. */
#member-files tr.folder-row{cursor:pointer}
#member-files tr.folder-row:hover>td,#member-files tr.folder-row:focus-within>td{background:#f0f6e9}
