:root{--portal-paper:var(--paper);--portal-ink:var(--ink);--portal-coffee:var(--coffee);--portal-clay:var(--clay-text);--portal-line:var(--line);--portal-muted:var(--muted)}.portal-shell{background:var(--portal-paper);min-height:100vh;color:var(--portal-ink);font:15px/1.55 var(--sans);padding:0 5vw 72px}.portal-header{border-bottom:1px solid var(--portal-line);justify-content:space-between;align-items:center;gap:20px;min-height:82px;display:flex}.portal-brand{color:var(--portal-ink);align-items:center;text-decoration:none;display:flex}.portal-brand img{width:34px;height:34px;display:block}.portal-brand .portal-label{color:var(--portal-clay);font:500 12px/1 var(--sans);letter-spacing:0;margin-left:4px}.portal-header>div{color:var(--portal-muted);align-items:center;gap:18px;font-size:13px;display:flex}.portal-header b{color:var(--portal-coffee);font-size:12px}.portal-header>div a,.portal-back{color:var(--portal-coffee);text-decoration:none}.portal-layout{grid-template-columns:220px minmax(0,1fr);gap:32px;max-width:1440px;margin:36px auto 0;display:grid}.portal-sidebar{flex-direction:column;align-items:stretch;gap:5px;display:flex}.portal-sidebar button,.portal-quiet{color:var(--portal-muted);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:7px;padding:11px 13px}.portal-sidebar button.active,.portal-sidebar button:hover{color:var(--portal-coffee);background:#e9e2d7}.portal-sidebar small{color:var(--portal-muted);margin:18px 13px;font-size:12px}.portal-content{min-width:0}.portal-page-title{justify-content:space-between;align-items:flex-end;gap:20px;margin:8px 0 24px;display:flex}.portal-page-title h1,.request-card h1,.login-card h1{font:500 clamp(30px,4vw,42px)/1.05 var(--serif);letter-spacing:-.006em;margin:0 0 7px}.portal-page-title p{color:var(--portal-muted);margin:6px 0 0}.portal-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0;display:grid}.portal-kpi,.portal-panel,.request-card,.login-card{border:1px solid var(--portal-line);background:#fffcf6;border-radius:10px}.portal-kpi{flex-direction:column;justify-content:space-between;min-height:102px;padding:17px 19px;display:flex}.portal-kpi small{color:var(--portal-muted)}.portal-kpi b{color:var(--portal-coffee);font:500 28px/1 var(--serif)}.portal-panel{margin:14px 0;padding:22px}.portal-panel h2{font:500 23px/1.2 var(--serif);margin:0 0 13px}.portal-panel p{color:var(--portal-muted)}.portal-panel-head{justify-content:space-between;align-items:center;gap:22px;display:flex}.portal-panel-head p{margin:4px 0 0}.portal-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.portal-button,.portal-small{color:#fff;cursor:pointer;font:500 14px var(--sans);white-space:nowrap;background:linear-gradient(135deg,#8a6950 0%,#5c4231 100%);border:0;border-radius:8px;padding:12px 16px;text-decoration:none}.portal-button:hover,.portal-small:hover{background:#584334}.portal-small{padding:8px 10px;font-size:12px}.portal-small.danger{color:#843e30;background:#eee5df}.portal-row{border-top:1px solid var(--portal-line);justify-content:space-between;align-items:center;gap:14px;min-height:58px;padding:11px 0;display:flex}.portal-row>div:first-child{flex-direction:column;min-width:0;display:flex}.portal-row small{color:var(--portal-muted);overflow-wrap:anywhere;font-size:12px}.portal-row-actions{align-items:center;gap:7px;display:flex}.portal-transfer-card{border:1px solid var(--portal-line);background:#f6f2ea;border-radius:8px;gap:10px;padding:12px;display:grid}.portal-transfer-card img{background:#fff;width:112px;height:112px;display:block}.portal-row select,.portal-form input,.portal-form textarea,.portal-form select,.portal-request-row select,.portal-user-row select{border:1px solid var(--portal-line);width:100%;min-width:130px;color:var(--portal-ink);font:13px var(--sans);background:#fff;border-radius:8px;padding:9px 10px}.portal-form{gap:15px;display:grid}.portal-form h2{margin-bottom:0}.portal-form label{color:var(--portal-muted);gap:6px;font-size:12px;font-weight:600;display:grid}.portal-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.portal-form textarea{resize:vertical}.portal-muted{color:var(--portal-muted);font-size:12px;display:block}.portal-status{color:#665542;white-space:nowrap;background:#eee8df;border-radius:30px;padding:4px 9px;font-size:11px}.portal-status.published,.portal-status.active,.portal-status.completed,.portal-status.approved{color:#3d6246;background:#e3eee3}.portal-status.rejected,.portal-status.suspended{color:#8b493b;background:#f3e4df}.portal-empty,.portal-loading{color:var(--portal-muted);padding:12px 0}.portal-notice,.portal-error{border-radius:6px;max-width:1000px;margin:14px auto;padding:11px 14px}.portal-photo-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.portal-processes{border:1px solid var(--portal-line);border-radius:5px;flex-wrap:wrap;gap:10px 18px;padding:12px;display:flex}.portal-processes legend{color:var(--portal-muted);padding:0 5px;font-size:12px}.portal-processes label{align-items:center;gap:7px;font-size:13px;display:flex}.portal-processes input{width:auto;min-width:0;accent-color:var(--portal-coffee)}.portal-table-wrap{width:100%;margin:12px 0;overflow:auto}.portal-table{border-collapse:collapse;text-align:left;width:100%;min-width:950px;font-size:12px}.portal-table th,.portal-table td{border-bottom:1px solid var(--portal-line);vertical-align:middle;padding:10px 9px}.portal-table th{color:var(--portal-muted);white-space:nowrap;font-size:10px;font-weight:600}.portal-table-thumb{object-fit:cover;background:#eee9df;border-radius:3px;width:48px;height:48px;display:block}.portal-author-portrait{object-fit:cover;background:#eee9df;border-radius:50%;width:88px;height:88px;display:block}.portal-author-card{border-top:1px solid var(--portal-line);gap:14px;padding:16px 0;display:grid}.portal-author-heading{align-items:center;gap:14px;display:flex}.portal-photo-editor-title{align-items:center;gap:12px;display:flex}.portal-author-heading>div,.portal-author-details{gap:5px;display:grid}.portal-author-heading small,.portal-author-details small{color:var(--portal-muted);overflow-wrap:anywhere;font-size:12px}.portal-table .portal-status{white-space:nowrap}.portal-photo-editor{padding:0}.portal-photo-editor summary{cursor:pointer;justify-content:space-between;align-items:center;gap:10px;padding:17px;list-style:none;display:flex}.portal-photo-editor summary::-webkit-details-marker{display:none}.portal-photo-editor summary span:first-child{min-width:0;display:grid}.portal-photo-editor summary small{color:var(--portal-muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.portal-photo-editor summary span:last-child{color:var(--portal-coffee);white-space:nowrap;font-size:12px}.portal-photo-editor form{padding:0 17px 17px}.portal-request-row,.portal-user-row,.portal-task-row{justify-content:flex-start}.portal-request-row>div:first-child,.portal-user-row>div:first-child,.portal-task-row>div:first-child{flex:1}.portal-order-card{gap:16px;display:grid}.portal-order-card h3{font:500 20px/1.3 var(--serif);margin:0}.portal-order-card label{color:var(--portal-muted);gap:5px;font-size:12px;display:grid}.portal-order-card input,.portal-order-card select,.portal-task-note{border:1px solid var(--portal-line);min-width:160px;max-width:260px;color:var(--portal-ink);font:13px var(--sans);background:#fff;border-radius:8px;padding:9px 10px}.portal-order-card details,.portal-task-row details{width:100%;color:var(--portal-muted)}.portal-order-card summary,.portal-task-row summary{cursor:pointer;color:var(--portal-coffee);font-size:12px}.portal-status.blocked{color:#8b493b;background:#f3e4df}.portal-status.paid,.portal-status.shipped{color:#3d6246;background:#e3eee3}.portal-small.selected{background:#b65d43}.portal-request-row select,.portal-user-row select{width:auto}.request-card,.login-card{max-width:620px;margin:9vh auto;padding:clamp(24px,5vw,42px)}.request-card>p,.login-card>p{color:var(--portal-muted)}.request-card .portal-form{margin-top:24px}.login-card .portal-button{margin:12px 14px 14px 0;display:inline-block}.portal-back{font-size:13px}.portal-login-tabs{border-bottom:1px solid var(--portal-line);gap:8px;margin:24px 0 18px;display:flex}.portal-login-tabs button{color:var(--portal-muted);cursor:pointer;font:600 13px var(--sans);background:0 0;border:0;border-bottom:2px solid #0000;padding:10px 12px}.portal-login-tabs button.selected{border-bottom-color:var(--portal-coffee);color:var(--portal-coffee)}.portal-size-heading button:disabled{opacity:.45;cursor:not-allowed}.portal-login .portal-muted{margin:0}.portal-size-editor{gap:12px;display:grid}.portal-size-heading{justify-content:space-between;align-items:center;gap:14px;display:flex}.portal-size-heading>div{gap:3px;display:grid}.portal-size-heading small{color:var(--portal-muted);font-size:12px}.portal-size-row{border:1px solid var(--portal-line);border-radius:8px;grid-template-columns:repeat(5,minmax(100px,1fr)) minmax(130px,1.2fr) auto;align-items:end;gap:10px;margin:0;padding:14px;display:grid}.portal-size-row legend{color:var(--portal-coffee);padding:0 6px;font-size:12px;font-weight:700}.portal-size-row label{color:var(--portal-muted);gap:5px;font-size:11px;display:grid}.portal-size-row input{border:1px solid var(--portal-line);width:100%;min-width:0;color:var(--portal-ink);font:13px var(--sans);border-radius:7px;padding:8px}.portal-size-total{color:var(--portal-muted);gap:2px;font-size:11px;display:grid}.portal-size-total b{color:var(--portal-coffee);font-size:14px}.portal-catalog-filters{margin:18px 0 8px}.portal-storage-status{border:1px solid var(--line);background:var(--paper-2);border-radius:8px;gap:4px;margin:14px 0;padding:13px 16px;font-size:13px;display:grid}.portal-storage-status span{color:var(--muted)}.portal-storage-status.ready{color:#36563b;background:#edf5ed;border-color:#bfd3c0}.portal-storage-status.pending{color:#775b37;background:#f8f0e5;border-color:#e3ceb2}.portal-header{min-height:72px}.portal-brand{gap:9px}.portal-brand .brand-wordmark{font:400 21px/1 var(--serif);letter-spacing:-.02em}.portal-label{border-left:1px solid var(--portal-line);padding-left:5px}.portal-shell{font-size:15px;line-height:1.6}.portal-sidebar button,.portal-quiet{border-radius:6px;min-height:42px;font-size:14px}.portal-sidebar button.active,.portal-sidebar button:hover{background:var(--paper-2);color:var(--ink)}.portal-kpi,.portal-panel,.request-card,.login-card{border-color:var(--line);background:var(--white);border-radius:8px}.portal-kpi{padding:18px}.portal-kpi small,.portal-panel p,.portal-row small,.portal-muted,.portal-empty,.portal-loading{color:var(--muted);font-size:13px}.portal-kpi b{color:var(--ink);font-size:26px}.portal-panel h2{font-size:22px}.portal-button{border-radius:8px;min-height:48px;padding:0 20px;box-shadow:inset 1.5px 1.5px 1px #ffffff4d,inset -1.5px -1.5px 2px #00000040,2px 3px 4px #3b2a1e4d,8px 12px 24px #6b4f3a40}.portal-small{border:1px solid var(--line-strong);min-height:40px;color:var(--ink);background:0 0;border-radius:8px;padding:8px 12px;font-size:12px}.portal-small:hover{color:var(--ink);background:#ffffffa6}.portal-small.danger{color:#823d2d;background:#f7ebe7;border-color:#d8b9ae}.portal-small.selected{background:var(--coffee);color:#fff}.portal-row select,.portal-form input,.portal-form textarea,.portal-form select,.portal-request-row select,.portal-user-row select,.portal-order-card input,.portal-order-card select,.portal-task-note{border-radius:8px;min-height:44px;font-size:13px}.portal-form label,.portal-order-card label{font-size:13px}.portal-status{border-radius:6px;font-size:12px}.portal-table{font-size:13px}.portal-table th{background:var(--paper);color:var(--muted);letter-spacing:0;text-transform:none;font-size:12px}.portal-table th,.portal-table td{padding:12px 10px}.portal-table-thumb{border-radius:0}.portal-author-portrait{border-radius:50%}.portal-order-card h3{font-size:20px}.portal-back{color:var(--coffee);font-size:14px}.portal-notice,.portal-error{border-radius:8px;padding:12px 14px}.portal-notice{color:#315a3d;background:#e7efe9}.portal-error{color:#823d2d;background:#f7ebe7}.portal-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0 22px;display:grid}.portal-quick-actions button{border:1px solid var(--line);background:var(--white);min-height:92px;color:var(--ink);text-align:left;cursor:pointer;border-radius:8px;grid-template-rows:auto auto;grid-template-columns:38px minmax(0,1fr);align-items:center;column-gap:12px;padding:17px 19px;transition:transform .15s,border-color .15s,background .15s;display:grid}.portal-quick-actions button:hover{border-color:var(--coffee);background:#fffdf9;transform:translateY(-2px)}.portal-quick-actions button:focus-visible,.portal-create-photo summary:focus-visible{outline:2px solid var(--clay);outline-offset:3px}.portal-quick-actions button>span{background:var(--paper);width:36px;height:36px;color:var(--coffee);border-radius:50%;grid-row:1/3;place-items:center;font-size:24px;line-height:1;display:grid}.portal-quick-actions b{font:500 19px/1.25 var(--serif)}.portal-quick-actions small{color:var(--muted);font-size:12px}.portal-create-account .portal-panel-head{margin-bottom:14px}.portal-create-account .portal-panel-head h2{margin-bottom:0}.portal-account-guidance{border:1px solid var(--line);background:var(--paper);color:var(--muted);border-radius:7px;gap:3px;padding:12px 14px;font-size:12px;display:grid}.portal-account-guidance b{color:var(--ink);font-size:13px}.portal-credential-box{background:#edf5ed;border:1px solid #bfd3c0;border-radius:8px;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:14px;margin-top:18px;padding:15px;display:grid}.portal-credential-box>div{gap:3px;display:grid}.portal-credential-box>div span,.portal-credential-box>div small{color:#49634b;font-size:12px}.portal-credential-box code{overflow-wrap:anywhere;color:#263c2b;max-width:350px;font:600 12px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace}.portal-create-photo{padding:0;overflow:hidden}.portal-create-photo>summary{cursor:pointer;justify-content:space-between;align-items:center;gap:16px;min-height:86px;padding:18px 22px;list-style:none;display:flex}.portal-create-photo>summary::-webkit-details-marker{display:none}.portal-create-photo>summary span:first-child{gap:4px;display:grid}.portal-create-photo>summary b{font:500 21px/1.2 var(--serif);color:var(--ink)}.portal-create-photo>summary small{color:var(--muted);font-size:12px}.portal-create-photo>summary span:last-child{color:var(--coffee);white-space:nowrap;font-size:12px}.portal-create-photo[open]>summary{border-bottom:1px solid var(--line);background:var(--paper)}.portal-create-photo>form{padding:22px}.portal-create-photo input[type=file]{background:var(--paper)}.portal-create-photo .portal-form-grid{align-items:start}.portal-user-row button:disabled,.portal-create-account button:disabled,.portal-create-photo button:disabled{opacity:.5;cursor:not-allowed}.portal-credential-compact{grid-template-columns:minmax(0,1fr) minmax(200px,auto) auto;margin:0 0 10px;padding:12px 14px}.portal-credential-compact>div small{color:var(--muted)}.portal-shell{min-width:320px;padding:0 16px 46px}.portal-header{align-items:flex-start;gap:10px;min-height:68px;padding:13px 0}.portal-header>div{flex-wrap:wrap;justify-content:flex-end;gap:8px;min-width:0;font-size:12px}.portal-brand{gap:7px;min-width:0}.portal-brand .brand-wordmark{font-size:18px}.portal-brand .brand-mark,.portal-brand img{width:30px;height:30px}.portal-layout{grid-template-columns:minmax(0,1fr);gap:15px;margin:20px auto 0}.portal-sidebar{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;display:grid}.portal-sidebar>p,.portal-sidebar small{grid-column:1/-1;margin:5px}.portal-sidebar button{text-align:center;overflow-wrap:anywhere;min-width:0;padding:9px 4px;font-size:11px;line-height:1.25}.portal-page-title{flex-direction:column;align-items:flex-start;gap:10px}.portal-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.portal-kpi{min-width:0;padding:13px}.portal-columns,.portal-photo-list,.portal-form-grid,.portal-quick-actions{grid-template-columns:minmax(0,1fr)}.portal-panel{min-width:0;padding:16px}.portal-panel-head{flex-direction:column;align-items:flex-start;gap:12px}.portal-row{flex-wrap:wrap;align-items:flex-start;gap:8px}.portal-row-actions{flex-wrap:wrap;width:100%}.portal-request-row select,.portal-user-row select{flex:1;min-width:0}.portal-user-row .portal-status{margin-left:auto}.portal-size-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px}.portal-size-total{grid-column:auto}.portal-size-heading{flex-direction:column;align-items:flex-start;gap:8px}.portal-login-tabs button{flex:1}.portal-table-wrap{max-width:100%;overflow:auto}.portal-table{min-width:950px}.portal-order-card input,.portal-order-card select,.portal-task-note{width:100%;min-width:0;max-width:100%}.portal-credential-box{grid-template-columns:minmax(0,1fr);gap:10px}.portal-credential-box code{max-width:none}.portal-create-photo>summary{flex-direction:column;align-items:flex-start}.portal-create-photo>summary span:last-child{white-space:normal}@media (min-width:640px){.portal-shell{padding:0 24px 60px}.portal-header{align-items:center;min-height:72px;padding:0}.portal-header>div{gap:12px}.portal-brand .brand-wordmark{font-size:21px}.portal-brand .brand-mark,.portal-brand img{width:34px;height:34px}.portal-layout{gap:20px;margin-top:26px}.portal-sidebar{grid-template-columns:repeat(5,minmax(0,1fr))}.portal-sidebar button{padding:9px 4px;font-size:12px}.portal-page-title{flex-direction:row;justify-content:space-between;align-items:flex-end}.portal-kpis{gap:12px}.portal-kpi{padding:18px}.portal-columns,.portal-photo-list,.portal-form-grid,.portal-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-panel{padding:20px}.portal-panel-head{flex-direction:row;align-items:center}.portal-size-row{grid-template-columns:repeat(3,minmax(0,1fr))}.portal-size-total{grid-column:span 2}.portal-quick-actions button{min-width:0;padding:15px}}@media (min-width:900px){.portal-shell{padding:0 5vw 72px}.portal-header{min-height:82px}.portal-header>div{gap:18px;font-size:13px}.portal-layout{grid-template-columns:220px minmax(0,1fr);gap:32px;margin-top:36px}.portal-sidebar{flex-direction:column;align-items:stretch;gap:5px;display:flex}.portal-sidebar>p,.portal-sidebar small{grid-column:auto;margin:0 0 10px}.portal-sidebar button{text-align:left;overflow-wrap:normal;padding:11px 13px;font-size:14px}.portal-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}.portal-page-title{flex-direction:row;align-items:flex-end}.portal-row{flex-wrap:nowrap;align-items:center}.portal-row-actions{flex-wrap:nowrap;width:auto}.portal-credential-box{grid-template-columns:minmax(0,1fr) auto auto;gap:14px}.portal-create-photo>summary{flex-direction:row;align-items:center}.portal-create-photo>summary span:last-child{white-space:nowrap}}@media (min-width:1050px){.portal-size-row{grid-template-columns:repeat(5,minmax(100px,1fr)) minmax(130px,1.2fr) auto}.portal-size-total{grid-column:auto}}.portal-edition{border:1px solid var(--portal-line);border-radius:5px;gap:10px;padding:12px;display:grid}.portal-edition legend{padding:0 4px;font-weight:600}.portal-edition .portal-check{align-items:center;gap:8px;display:flex}.portal-edition .portal-muted{margin:0}
