/* Isokalk visual system. Numeric rows retain the measured 50/30 px density. */
:root{--ink:#173c4e;--muted:#718596;--accent:#079c98;--accent-dark:#067e83;--line:#dde8ed;--surface:#fff;--canvas:#f3f7fa;--shadow:0 8px 28px #173c4e0b;color-scheme:light}
body{font-family:"Segoe UI Variable","Segoe UI",Arial,sans-serif;background:var(--canvas);color:var(--ink)}
button,input,select,textarea{font-family:inherit}
button{transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease}
button:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid #079c9850;outline-offset:3px}
button:disabled{opacity:.45;transform:none!important;box-shadow:none!important}
input:focus,select:focus,textarea:focus{outline:3px solid #079c9824;border-color:var(--accent)}
h1,h2,h3,h4{color:var(--ink)}
h1{font-size:28px;letter-spacing:-.8px;font-weight:700}
.eyebrow{color:#718b98;letter-spacing:1.5px;font-weight:650}
.original-shell{grid-template-columns:96px minmax(0,1fr);background:var(--canvas);--red:var(--accent);--navy:var(--ink);--border:var(--line)}
.original-shell>.main{padding:0 28px 28px;min-width:0}
.original-sidebar{width:96px;min-width:96px;min-height:100vh;background:linear-gradient(180deg,#fff,#f5faf9);border-right:1px solid #dfe9ed;padding:0 8px;position:sticky;top:0}
.original-sidebar nav{margin:88px 0 0;gap:6px}
.original-sidebar nav button{position:relative;width:80px;height:76px;padding:10px 3px;gap:5px;color:#647e8b;font-size:11px;border-radius:15px}
.original-sidebar nav button .approved-art{width:31px;height:31px}
.original-sidebar nav button:hover{background:#eaf5f3;color:var(--ink);transform:translateY(-1px)}
.original-sidebar nav button.active{background:linear-gradient(135deg,#e2f5f0,#eef8f8);color:#087b7b;box-shadow:inset 0 0 0 1px #c9e8e1}
.original-sidebar nav button.active:before{content:"";position:absolute;left:-8px;top:23px;height:28px;width:3px;background:var(--accent);border-radius:0 4px 4px 0}
.original-topbar{height:88px;min-height:88px;margin-bottom:20px;padding:0;border:0;background:transparent}
.brand-logo,.login-art>.brand{display:block;width:176.5px;height:43.3px;background-image:url('./assets/brand/isokalk-logo.png');background-repeat:no-repeat;background-size:116.837% 159.823%;background-position:49.201% 56.089%;filter:contrast(1.15);mix-blend-mode:multiply}
.app-title{display:block;line-height:1}
.original-topbar>.row:last-child{gap:16px;color:var(--muted);font-size:12px}
.original-topbar select{background:#fff;border:1px solid var(--line);border-radius:10px;max-width:230px;padding:9px 12px;color:var(--ink)}
.account-menu>summary{background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px 13px;color:var(--ink)}
.account-menu>div{border:1px solid var(--line);border-radius:15px;padding:8px;box-shadow:0 15px 45px #173c4e25}
.original-shell button{border-radius:9px;border-color:var(--line)}
.original-shell button:hover{border-color:#9fcfc9;box-shadow:0 3px 9px #173c4e09}
.original-shell .primary,.login-wrap .primary{border:1px solid transparent;background:linear-gradient(135deg,#0aa29a,#07828a);color:#fff;font-weight:600;box-shadow:0 5px 14px #078b8c25}
.original-shell .primary:hover,.login-wrap .primary:hover{background:linear-gradient(135deg,#0bb2a5,#087b85);box-shadow:0 7px 18px #078b8c35;transform:translateY(-1px)}
/* The login uses the same light surfaces, approved logo and teal actions as the app. */
.login-wrap{--red:var(--accent);--navy:var(--ink);--border:var(--line);background:var(--canvas);color:var(--ink)}
.login-art{background:radial-gradient(ellipse at 95% 0,#e4f3ee,transparent 55%),var(--surface);border-right:1px solid var(--line);color:var(--ink)}
.login-art>.brand{font-size:0;letter-spacing:0;flex-shrink:0}
.login-art .brand-sub{color:#496575}
.login-art h1{color:var(--ink)}
.login-art p{color:#496575}
.login-art .tag{color:#087b7b;background:#eaf5f3;border-color:#c9e8e1}
.login-form{background:var(--canvas)}
.login-form label{color:#496575}
.login-form input{border-color:var(--line);border-radius:9px;background:var(--surface);color:var(--ink)}
.login-form .primary{border-radius:9px}
.login-note{color:#496575}
.original-shell input,.original-shell select,.original-shell textarea{color:var(--ink)}
.home-create,.project-card,.user-card,.configuration-layout>section,.consumption-card{border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow)}
.home-create{padding:26px 30px;background:radial-gradient(ellipse at 95% 0,#e4f3ee,transparent 55%),#fff;margin-bottom:26px}
.home-create h2{margin-top:0;letter-spacing:-.4px}
.project-card{padding:24px;transition:box-shadow .18s ease,transform .18s ease}
.project-card:hover{box-shadow:0 13px 32px #173c4e16;transform:translateY(-2px)}
.supplier-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,370px),1fr));gap:18px;margin:20px 0 28px}
.supplier-card{min-width:0}.supplier-card-heading{display:flex;align-items:center;gap:20px;min-height:72px}.supplier-card-copy{min-width:0}.supplier-card h2{font-size:16px;line-height:1.4;margin:0}.supplier-card p{font-size:12px;margin:8px 0 0;overflow-wrap:anywhere;color:#496575}
.supplier-logo{display:flex;align-items:center;justify-content:center;flex:0 0 144px;width:144px;height:60px;overflow:hidden;background:#fff}.supplier-logo img{display:block;width:100%;height:100%;object-fit:contain}.supplier-logo--armadan img{width:107%;height:auto;max-width:none;flex-shrink:0}.supplier-logo--nhp img{width:125px;height:38px}
@media(max-width:550px){.supplier-card{padding:20px}.supplier-card-heading{gap:15px}.supplier-logo{flex-basis:115px;width:115px;height:52px}.supplier-logo--nhp img{width:115px;height:auto}.supplier-card h2{font-size:14px}}
.configuration-layout{gap:22px}
.configuration-layout>nav{background:#fff;border:1px solid var(--line);border-radius:16px;padding:10px}
.configuration-layout>nav button{padding:12px 14px;color:var(--ink);border-radius:9px}
.configuration-layout>nav button:hover{background:#eaf5f3}
.configuration-layout>section{padding:26px}
.original-tabs{gap:8px}
.original-tabs>button{background:white;padding:10px 16px}
.projects-table{border-collapse:separate;border-spacing:0;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}
.projects-table th{background:#f7fafb;color:#6c8492;font-size:11px;font-weight:600;border-bottom:1px solid var(--line);padding:14px 12px}
.projects-table th:first-child{border-radius:16px 0 0 0}
.projects-table th:last-child{border-radius:0 16px 0 0}
.projects-table td{height:55px;border-bottom:1px solid #edf2f5;padding:10px 12px;color:#496575}
.projects-table tbody tr:last-child td{border-bottom:0}
.projects-table tbody tr:hover td{background:#f1f9f7}
.projects-table .project-name-link{font-weight:600;color:var(--ink)}
.catalogue-product-image{border-radius:12px}
dialog{border:1px solid #e1eaed;border-radius:22px;padding:28px;box-shadow:0 24px 100px #102d4040;animation:isokalk-dialog .18s ease-out}
dialog::backdrop{background:#102d4055;backdrop-filter:blur(5px)}
dialog h2{font-size:23px;letter-spacing:-.5px;margin-top:0}
dialog input:not([type=checkbox]),dialog select,dialog textarea{border-radius:9px;border-color:var(--line);background:#fbfdfe}
dialog .modal-actions{border-top:1px solid #e8eff2;padding-top:18px;gap:10px}
dialog .modal-actions button{padding:10px 16px}
.ws-menu-body,.ws-submenu>div{border:1px solid var(--line);border-radius:13px;background:#fff;box-shadow:0 14px 40px #173c4e22;padding:7px;animation:isokalk-menu .12s ease-out}
.ws-menu-body>button,.ws-submenu>div>button{border:0!important;box-shadow:none!important;padding:8px 10px;border-radius:7px;color:var(--ink)}
.ws-menu-body>button:hover,.ws-submenu>div>button:hover{background:#e8f6f1}
.ws-menu-body summary{border-radius:7px;color:var(--ink)}
.ws-menu-body summary:hover{background:#eef7f5}
.shell-calculation{grid-template-columns:1fr}
.shell-calculation>.original-sidebar{display:none}
.shell-calculation:has(.workspace){background:var(--canvas)}
.shell-calculation:has(.workspace) .main>.topbar{height:52px;min-height:52px;padding:0 28px;background:#fff;border-bottom:1px solid #e8eff1}
.shell-calculation:has(.workspace) .brand-logo{width:137px;height:33.61px}
.shell-calculation:has(.workspace) .account-menu>summary{padding:7px 11px;background:#f8fbfc}
.shell-calculation:has(.workspace) .original-topbar select{padding:6px 10px}
.shell-calculation:has(.workspace) .workspace{font-family:"Segoe UI Variable","Segoe UI",Arial,sans-serif;color:var(--ink)}
.ws-project-heading{height:auto;min-height:76px;padding:10px 28px;gap:20px;background:#fff;flex-shrink:0}
.ws-project-heading>div:first-child{flex:1;min-width:0}
.ws-project-name{display:block;width:100%;min-width:0;max-width:none;min-height:38px;font-size:24px;font-weight:650;letter-spacing:-.65px;line-height:30px;resize:none;overflow:hidden;overflow-wrap:anywhere;white-space:pre-wrap}
.ws-project-heading>.actions{flex-shrink:0;flex-wrap:wrap}
.ws-project-heading .actions{gap:9px}
.ws-project-heading .actions>button{padding:9px 17px;font-size:13px}
.ws-toolbar{height:50px;min-height:50px;margin:0 20px;background:#fff;border:1px solid #e2ebee;border-radius:14px;padding:0 10px;box-shadow:0 5px 18px #173c4e08}
.ws-toolbar button,.ws-toolbar summary{font-size:13px;padding:7px 9px;color:#496575}
.ws-toolbar button:hover,.ws-toolbar summary:hover{background:#eaf6f2;box-shadow:none;border-color:transparent}
.ws-warning-switch{color:#7c909a}
.ws-workarea{padding:28px 20px 180px;background:radial-gradient(ellipse at 10% 0,#eaf3f3,transparent 65%),var(--canvas)}
.ws-group{background:#fff;border:1px solid #e0e9ed;border-radius:15px;box-shadow:0 6px 24px #173c4e0c}
.ws-group-header{background:#fff;border-radius:15px 15px 0 0}
.ws-group-header input{color:#2a5262;font-weight:600}
.ws-group-price{color:#0d8582;font-weight:600}
.ws-group-header,.ws-group-active>.ws-group-header{height:38px;min-height:38px;padding:0 44px 0 48px;border-radius:15px 15px 0 0;background:linear-gradient(100deg,#f8fcfb,#fff 72%)}
.ws-group[data-collapsed="true"]>.ws-group-header{border-radius:15px}
.ws-group-header>.ws-group-toggle{left:10px;top:7px;width:25px;height:25px;display:grid;place-items:center;padding:4px;border:1px solid #dceae7;border-radius:8px;background:#edf6f3;color:#258780;box-shadow:0 1px 2px #173c4e06;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease}
.ws-group-header>.ws-group-toggle:hover{background:#dcefe9;border-color:#add3c9;box-shadow:0 2px 7px #25878018}
.ws-group-toggle svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transform:rotate(0deg);transition:transform .18s ease}
.ws-group-toggle[aria-expanded="true"] svg{transform:rotate(90deg)}
.ws-group-header input{height:30px;line-height:28px;font-weight:650}
.ws-group-header>.ws-menu{top:5px;right:6px}
.ws-group-header>.ws-menu>summary{opacity:.5;border-radius:7px;color:#688c98}
.ws-group-header>.ws-menu>summary:hover{opacity:1;background:#edf6f3}
.ws-group-content>.ws-line:last-child,.ws-group-content>.ws-line:last-child>.ws-line-grid{border-radius:0 0 14px 14px}
.ws-group-view{display:flex;align-items:center;gap:2px;padding:2px;border:1px solid #e0eae7;border-radius:9px;background:#f5f9f8;margin-left:5px}
.ws-view-controls .ws-group-view-button{display:flex;align-items:center;gap:5px;padding:5px 8px;border:0;border-radius:6px;background:transparent;color:#49716f;font-size:11px;line-height:17px;transition:background .16s ease,color .16s ease}
.ws-view-controls .ws-group-view-button:hover{background:#e0efe9;color:#0d7974}
.ws-group-view-button svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.ws-column-head{font-size:13px;color:#81939e;background:#fff}
.ws-line-grid{height:50px;min-height:50px;background:#fff}
.ws-line-selected>.ws-line-grid{background:#e5f4ef}
.ws-line:hover>.ws-line-grid{background:#f0f8f5}
.ws-dimensions input{font-variant-numeric:tabular-nums;border-radius:4px}
.ws-dimensions label>span{color:#8699a2}
.ws-product-button{color:#315566;font-size:15px}
.ws-line-grid>div .ws-product-button:hover{color:#087f7b;background:transparent;box-shadow:none}
.ws-money{font-size:15px;font-variant-numeric:tabular-nums;color:#446675}
.ws-money strong{font-weight:600;color:var(--ink)}
.ws-quantity input,.ws-quantity span{font-size:15px;color:#446675}
.ws-expand{color:#8ba2ab!important}
.ws-layer-area{padding:2px 8px 7px;background:#f8fbfc}
.ws-layer-table th,.ws-layer-table td{height:30px;font-size:13px;color:#506f7e}
.ws-layer-table th{color:#879ca6;font-size:11px}
.ws-layer-table tr:hover td{background:#eff7f5}
.ws-layer-table input:hover,.ws-layer-table input:focus{background:#fff;border-color:#a9d7cb}
.ws-layer-table td>button{color:#315c6c}
.ws-statusbar{height:44px;min-height:44px;gap:16px;padding:0 22px;border:0;border-top:1px solid #e0e9ed;background:#ffffffee;backdrop-filter:blur(12px);box-shadow:0 -4px 18px #173c4e06;color:#7b929e}
.ws-statusbar strong{font-size:14px;font-weight:650;color:#087d7c;letter-spacing:-.2px}
.ws-view-controls button:hover{background:#eaf5f1}
.ws-statusbar .ws-save-status{display:inline;font-size:11px;color:#7e969f}
.ws-warning,.notice{border:1px solid #ecdcae;border-radius:9px;background:#fff9e9;color:#8f7836}
.ws-incomplete>.ws-line-grid{background:#fffaf0}
.ws-text-row{background:#fff;border-color:#e8eff2}
.ws-text-row.ws-line-selected{background:#eaf5f1;border-color:#b7dbd1}
.ws-text-row .ws-text-select{align-self:stretch;flex:none;border:0;background:transparent;color:#70948d;font-size:17px;padding:4px 8px}
.ws-unit-header{background:#eaf5f1;border-color:#d5eae3;color:#1f706e}
.ws-unit-header>input[data-ws-field="unitName"]{width:260px;max-width:40%;min-width:120px;margin:0;border:0;background:transparent;color:inherit;font-weight:650}
.ws-unit-header>.ws-menu{margin-left:auto}
.ws-group-identity{flex:1;min-width:0}
.ws-group-identity input{width:100%;min-width:0}
.ws-group-identity .ws-reference{font-size:11px;font-weight:400;color:#78929d;white-space:pre-wrap;overflow-wrap:anywhere}
.project-cards,.configuration-layout,.projects-table{animation:isokalk-enter .22s ease-out}
#toast{border-radius:12px;box-shadow:0 10px 35px #173c4e2b}
@keyframes isokalk-enter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@keyframes isokalk-menu{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}
@keyframes isokalk-dialog{from{opacity:0;transform:translateY(6px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:1100px){.ws-toolbar{height:auto;min-height:50px;flex-wrap:wrap;padding:5px 8px}.ws-toolbar-right{margin-left:0}.original-topbar>.row:last-child{gap:8px}.original-topbar select{max-width:180px}.ws-project-name{max-width:480px}.ws-statusbar{overflow-x:auto;white-space:nowrap;justify-content:flex-start;flex-shrink:0}.ws-statusbar .ws-save-status{display:none}}
@media(max-width:700px){.original-shell{grid-template-columns:76px minmax(0,1fr)}.original-sidebar{width:76px;min-width:76px;padding:0 4px}.original-sidebar nav button{width:68px;font-size:10px}.original-sidebar nav button.active:before{left:-4px}.original-shell>.main{padding:0 14px 18px}.brand-logo{width:141.2px;height:34.64px}.shell-calculation{grid-template-columns:1fr}.ws-project-heading{padding:0 16px}.ws-project-name{font-size:20px;max-width:280px}.ws-project-heading .actions{gap:5px}.ws-project-heading .actions>button{padding:7px 9px}.ws-toolbar{margin:0 10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.brand-logo{display:none}.ws-workarea{background:white}.ws-group{box-shadow:none;border-radius:0}.ws-statusbar{backdrop-filter:none}.shell-calculation:has(.workspace){height:auto;background:white}}

/* Project folder approved by the user on 11 November 2026. */
.projects-table .project-name-link{display:inline-flex;align-items:center;gap:10px;text-align:left}
.project-row-icon{display:block;width:26px;height:26px;flex:none}

/* Layer order follows the user's requested inside-to-outside numbering. */
.ws-layer-table .ws-layer-product-button{display:flex;align-items:center;gap:8px;width:100%;height:24px;text-decoration:none}
.ws-layer-product-button>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ws-layer-product-image,.ws-layer-product-fallback{width:23px;height:23px;flex:none;object-fit:contain;border-radius:4px;background:#fff}
.ws-layer-product-fallback{display:grid;place-items:center;background:#eef4f4;color:#7d999f}
.ws-layer-product-fallback svg{width:17px;height:17px;stroke:currentColor;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round}
.ws-layer-table td{padding-top:3px;padding-bottom:3px}

.ws-layer-table col:nth-child(2){width:78px}.ws-layer-table col:nth-child(3){width:225px}.ws-layer-table col:nth-child(8){width:90px}
.ws-layer-product-image,.picker-product-image,.catalogue-product-image,.catalogue-detail-image{cursor:zoom-in}
.product-image-preview{position:fixed;inset:auto;margin:0;width:280px;max-width:calc(100vw - 24px);padding:14px;border:1px solid #dce7eb;border-radius:15px;background:white;color:#294c5b;box-shadow:0 15px 50px #173c4e30;pointer-events:none;z-index:2147483000;animation:isokalk-image-preview .14s ease-out}
.product-image-preview[hidden]{display:none!important}
.product-image-preview>img{display:block;width:100%;height:210px;object-fit:contain;background:#fff;border-radius:8px}
.product-image-preview-caption{margin-top:10px;font-family:"Segoe UI",sans-serif;font-size:12px;font-weight:600;line-height:18px;max-height:54px;overflow:hidden;overflow-wrap:anywhere}
.ws-project-heading .ws-project-name{min-width:0;max-width:none}
@media(max-width:700px){.ws-project-heading{flex-wrap:wrap;gap:8px;padding-top:10px;padding-bottom:10px}.ws-project-heading>div:first-child{flex-basis:100%}.ws-project-heading>.actions{margin-left:auto}}
@keyframes isokalk-image-preview{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
@media print{.product-image-preview{display:none!important}}
#private-columns [hidden]{display:none!important}

.ws-wage-rule-table{min-width:100%;font-size:12px}.ws-wage-rule-table th,.ws-wage-rule-table td{vertical-align:top}.ws-wage-rule-table td:nth-child(2){min-width:230px}.ws-wage-rule-table td:nth-child(5){min-width:155px}.ws-wage-rule-table .ws-wage-rule-amount{white-space:nowrap}

dialog.ws-wage-rule-modal{width:min(1600px,calc(100vw - 64px));max-width:calc(100vw - 64px)}.ws-wage-rule-table td:first-child,.ws-wage-rule-table th:first-child{min-width:170px}.ws-wage-rule-table td:nth-child(2){min-width:280px}.ws-wage-rule-table td:nth-child(3){min-width:40px}.ws-wage-rule-table td:nth-child(4){min-width:55px}.ws-wage-rule-table td:nth-child(5){min-width:180px}
.ws-share-modal { width: 440px; max-width: calc(100vw - 36px); }
.ws-share-modal h2 { overflow-wrap: anywhere; }
.ws-share-people { max-height: 300px; overflow: auto; padding: 8px 0; min-height: 72px; }
.ws-share-person { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.ws-share-person > button { margin-left: auto; }
.ws-share-avatar { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; background: var(--accent-soft, #e3f2ee); color: var(--ink, #173d4d); font-size: 12px; font-weight: 700; }
.ws-share-footer { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-top: 16px; margin-top: 10px; border-top: 1px solid var(--border, #d9e4e9); }
.ws-share-collaborators { display: flex; gap: 8px; align-items: center; border: 0; background: transparent; padding: 0; }
.ws-share-collaborators:disabled { opacity: 1; cursor: default; }
.ws-share-modal .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Administration is visible only to the existing administrator roles. */
.original-sidebar:has([data-page="admin"]){overflow-y:auto;overflow-x:hidden;scrollbar-width:thin}
.original-sidebar:has([data-page="admin"]) nav button{max-width:100%}
.original-sidebar nav button[data-page="admin"]{height:auto;min-height:76px;padding-top:8px;padding-bottom:8px}
.original-sidebar nav button[data-page="admin"]>span:last-child{font-size:10px;line-height:1.2;overflow-wrap:anywhere}
.administration{max-width:1440px;margin:0 auto}
.admin-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 26px;padding-bottom:14px;border-bottom:1px solid var(--line)}
.admin-tabs a{padding:11px 18px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:#496575;text-decoration:none;font-weight:600}
.admin-tabs a:hover{background:#eaf5f3;border-color:#9fcfc9}
.admin-tabs a[aria-current="page"]{background:#e2f5f0;border-color:#9fcfc9;color:#076f70;box-shadow:inset 0 0 0 1px #c9e8e1}
.admin-section{margin:0 0 30px}
.admin-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin:0 0 16px}
.admin-section-head h2{margin:0 0 7px}
.admin-section-head p{margin:0;color:#496575;max-width:780px}
.admin-section-head>button{flex-shrink:0}
.admin-profile-search{display:block;max-width:560px;margin:0 0 18px;color:#496575;font-size:12px}
.admin-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px}
.admin-card{min-width:0;padding:22px;background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);overflow-wrap:anywhere}
.admin-card h3{margin:0;font-size:16px;line-height:1.4}
.admin-card p{margin:10px 0 16px;color:#496575}
.admin-card-heading{display:flex;gap:12px;align-items:flex-start;justify-content:space-between}
.admin-card-heading .tag{flex-shrink:0;max-width:58%;white-space:normal;text-align:center}
.admin-contact{display:grid;grid-template-columns:minmax(105px,.4fr) minmax(0,1fr);gap:7px 12px;font-size:12px;line-height:1.5;margin:16px 0 20px}
.admin-contact dt{color:#496575}.admin-contact dd{margin:0;color:var(--ink);white-space:pre-line;overflow-wrap:anywhere}
.admin-empty{padding:22px;border:1px dashed #b9cdd5;border-radius:12px;color:#496575;background:#fff}
.admin-footnote{font-size:12px;color:#496575;margin:16px 0 0}
.admin-audit{margin:32px 0 0}.admin-audit summary{color:var(--ink);font-weight:600}
.admin-profile-form>label,.admin-profile-form .grid{margin-top:16px}
.admin-profile-form .muted{font-size:12px;color:#496575}
.admin-profile-form .error[hidden]{display:none}
@media(max-width:700px){.admin-tabs{gap:6px}.admin-tabs a{flex:1;text-align:center;padding:10px}.admin-section-head{flex-wrap:wrap}.admin-card{padding:18px}.admin-contact{grid-template-columns:110px minmax(0,1fr)}}
