:root{--green-950:#102d1e;--green-900:#173f2a;--green-800:#205538;--green-700:#2c6b48;--green-600:#3e805a;--green-100:#e8f1eb;--green-50:#f4f8f5;--brown:#8a5a35;--cream:#fbf8f1;--ink:#18211c;--muted:#68746d;--line:#dfe7e1;--white:#fff;--danger:#a33a32;--warning:#9b6b08;--shadow:0 12px 32px rgba(28,55,40,.07)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#f3f5f2;color:var(--ink);line-height:1.55}body:before{content:"";position:fixed;inset:0;pointer-events:none;opacity:.18;background-image:radial-gradient(#8a5a35 0.5px,transparent .5px);background-size:8px 8px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.3),transparent 60%);z-index:-1}a{color:var(--green-700);text-decoration:none}a:hover{color:var(--green-900)}button,input,select,textarea{font:inherit}.app-shell{display:flex;min-height:100vh}.sidebar{width:270px;flex:0 0 270px;background:linear-gradient(180deg,var(--green-950),#173f2a 72%,#204e35);color:#fff;position:sticky;top:0;height:100vh;z-index:40;overflow:auto}.sidebar-inner{padding:22px 16px;min-height:100%;display:flex;flex-direction:column}.brand-block{display:flex;align-items:center;gap:11px;padding:4px 7px 22px}.brand-mark{width:40px;height:40px;border-radius:12px;background:#f4eee2;color:var(--green-900);display:grid;place-items:center;font-size:22px;font-weight:900;box-shadow:0 6px 18px rgba(0,0,0,.16)}.brand{font-size:21px;font-weight:900;letter-spacing:-.03em;color:#fff}.brand span{font-weight:500;color:#d7e7dd}.brand-block small{color:#a9c0b3;font-size:11px}.sidebar-profile{display:flex;align-items:center;gap:10px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1);border-radius:14px;padding:11px;margin-bottom:18px}.sidebar-profile div{min-width:0}.sidebar-profile b,.sidebar-profile small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-profile b{font-size:13px}.sidebar-profile small{color:#b9cfc2;font-size:11px;margin-top:2px}.avatar{width:38px;height:38px;border-radius:50%;background:#dfeee4;color:var(--green-900);display:grid;place-items:center;font-weight:900;flex:none}.avatar-sm{width:32px;height:32px;font-size:12px}.side-nav{display:grid;gap:3px}.side-nav a{display:flex;align-items:center;gap:11px;color:#d8e8df;padding:10px 12px;border-radius:10px;font-size:13px;font-weight:600;transition:.18s}.side-nav a:not(.nav-section-title):hover{background:rgba(255,255,255,.09);color:#fff;transform:translateX(2px)}.side-nav a span{width:18px;text-align:center;opacity:.9}.side-nav .nav-section-title{color:#86a898;font-size:10px;letter-spacing:.13em;padding:9px 12px 6px;pointer-events:none}.sidebar-note{margin-top:auto;padding:13px;border:1px dashed rgba(255,255,255,.18);border-radius:12px;color:#c8dbd0;font-size:11px}.sidebar-note b{display:block;color:#fff;margin-bottom:3px}.main{flex:1;min-width:0;display:flex;flex-direction:column}.topbar{height:76px;flex:none;background:rgba(255,255,255,.92);backdrop-filter:blur(14px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 28px;gap:18px;position:sticky;top:0;z-index:30}.topbar-left,.topbar-actions{display:flex;align-items:center;gap:12px;min-width:0}.topbar-title strong,.topbar-title .eyebrow{display:block}.topbar-title strong{font-size:16px}.eyebrow{font-size:9px;letter-spacing:.15em;color:var(--brown);font-weight:800}.topbar-actions{justify-content:flex-end}.dashboard-link{font-size:12px;font-weight:700;padding:8px 11px;border-radius:9px;background:var(--green-50)}.user-chip{display:flex;align-items:center;gap:8px}.user-chip-text b,.user-chip-text small{display:block}.user-chip-text b{font-size:12px}.user-chip-text small{font-size:10px;color:var(--muted)}.menu{display:none;border:0;background:var(--green-50);color:var(--green-900);width:40px;height:40px;border-radius:10px;font-size:22px;cursor:pointer}.sidebar-overlay{display:none}.content{width:100%;max-width:1440px;margin:0 auto;padding:28px}.page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:22px}.page-head h1{margin:0;font-size:28px;letter-spacing:-.04em}.page-head p{margin:5px 0 0;color:var(--muted);font-size:13px}.kicker{font-size:11px;color:var(--brown);font-weight:800;letter-spacing:.12em;text-transform:uppercase}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.grid-2{display:grid;grid-template-columns:1.3fr .7fr;gap:18px}.card{background:rgba(255,255,255,.96);border:1px solid var(--line);border-radius:17px;padding:20px;box-shadow:var(--shadow)}.paper-card{background:var(--cream);border-color:#e6dece;position:relative}.paper-card:before{content:"";position:absolute;inset:10px;border:1px solid rgba(138,90,53,.14);border-radius:12px;pointer-events:none}.book-card{background:linear-gradient(135deg,#fffdf7,#f6efe1);border-color:#dfd3be}.book-title{font-family:Georgia,serif;letter-spacing:.02em}.stat{padding:18px;position:relative;overflow:hidden}.stat:after{content:"";position:absolute;right:-22px;top:-22px;width:82px;height:82px;border:16px solid rgba(44,107,72,.07);border-radius:50%}.stat .label{font-size:12px;color:var(--muted);font-weight:700}.stat b{font-size:30px;display:block;letter-spacing:-.05em;margin-top:2px}.stat small{color:var(--muted)}.stat-icon{float:right;width:36px;height:36px;border-radius:11px;background:var(--green-100);color:var(--green-900);display:grid;place-items:center;font-weight:900}.progress-wrap{margin-top:10px}.progress{height:10px;border-radius:999px;background:#e7ece8;overflow:hidden}.progress>span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,var(--green-800),var(--green-600));transition:width .3s}.progress-label{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin-bottom:6px}.sku-list{display:grid;gap:12px}.sku-card{display:grid;grid-template-columns:46px 1fr auto;gap:14px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:15px;padding:15px;transition:.18s;box-shadow:0 5px 18px rgba(28,55,40,.04)}.sku-card:hover{transform:translateY(-1px);border-color:#c7d8cc;box-shadow:0 10px 24px rgba(28,55,40,.08)}.sku-no{width:46px;height:46px;border-radius:13px;background:var(--green-100);color:var(--green-900);display:grid;place-items:center;font-weight:900}.sku-card h3{margin:0;font-size:15px}.sku-card p{margin:4px 0 0;color:var(--muted);font-size:12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.sku-card .sku-side{text-align:right;min-width:145px}.sku-mini-progress{height:6px;width:120px;background:#e7ece8;border-radius:99px;margin:7px 0 0 auto;overflow:hidden}.sku-mini-progress span{display:block;height:100%;background:var(--green-700)}.badge{display:inline-flex;align-items:center;gap:4px;padding:5px 9px;border-radius:999px;background:#eef2ef;color:#526058;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}.badge.green,.badge.passed,.badge.approved{background:#e2f2e7;color:#17603b}.badge.red,.badge.revision,.badge.rejected{background:#fbe9e7;color:#9a2d27}.badge.yellow,.badge.waiting_review,.badge.submitted{background:#fff3d7;color:#815d08}.badge.blue{background:#e7eef9;color:#2f527c}.badge.gray,.badge.draft{background:#eef0ef;color:#68736d}.badge.completed,.badge.locked{background:#e6efe9;color:#23583d}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:15px}.actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid transparent;border-radius:10px;background:var(--green-800);color:#fff;padding:10px 14px;cursor:pointer;font-weight:750;font-size:12px;line-height:1.2;box-shadow:0 3px 10px rgba(32,85,56,.1)}.btn:hover{filter:brightness(.96);color:#fff}.btn-sm{padding:8px 10px;font-size:11px}.btn-light{background:#edf4ef;color:#214e36;border-color:#d9e6dc;box-shadow:none}.btn-secondary{background:#67736d}.btn-danger{background:var(--danger)}.btn-warning{background:#9b6b08}.btn-outline{background:#fff;color:var(--green-800);border-color:#bfd1c5;box-shadow:none}.btn-icon{width:38px;height:38px;padding:0}.alert{margin:14px 28px 0;padding:12px 15px;border:1px solid #cfe4d6;border-radius:12px;background:#eef8f1;color:#175a38;font-size:12px;display:flex;align-items:center;justify-content:space-between;gap:12px}.alert.error{background:#fff0ef;border-color:#f0c7c3;color:#8b2924}.alert.warning{background:#fff8e6;border-color:#ead8a8;color:#78580b}.alert-close{border:0;background:none;color:inherit;font-size:20px;cursor:pointer}.table-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table{width:100%;border-collapse:separate;border-spacing:0;min-width:620px}.table th,.table td{padding:12px 13px;border-bottom:1px solid #e8ede9;text-align:left;vertical-align:top;font-size:12px}.table th{font-size:10px;letter-spacing:.05em;text-transform:uppercase;color:#65736b;background:#f8faf8;position:sticky;top:0}.table tr:last-child td{border-bottom:0}.table tbody tr:hover td{background:#fbfcfb}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.form-grid .full{grid-column:1/-1}label{display:grid;gap:7px;font-size:11px;font-weight:800;color:#4f5d55}input,select,textarea{width:100%;padding:11px 12px;border:1px solid #cfdad2;border-radius:10px;background:#fff;color:var(--ink);outline:none;transition:.15s;font-size:12px}input:focus,select:focus,textarea:focus{border-color:#79a68a;box-shadow:0 0 0 3px rgba(62,128,90,.1)}input:disabled,textarea:disabled,select:disabled{background:#f3f5f3;color:#7c8680}.textarea-lg{min-height:220px}.file-help{font-size:10px;color:var(--muted);font-weight:500}.file-name{font-size:10px;color:var(--muted);font-weight:500;min-height:16px}.pagination{display:flex;gap:6px;align-items:center;justify-content:center;margin-top:18px;flex-wrap:wrap}.pagination a,.pagination span{min-width:34px;height:34px;padding:0 10px;display:grid;place-items:center;border:1px solid #d6e0d9;border-radius:9px;background:#fff;font-size:11px;font-weight:750}.pagination .active{background:var(--green-800);border-color:var(--green-800);color:#fff}.pagination .disabled{opacity:.45}.empty-state{text-align:center;padding:45px 20px;color:var(--muted)}.empty-state .empty-icon{width:54px;height:54px;margin:0 auto 12px;border-radius:17px;background:var(--green-50);display:grid;place-items:center;color:var(--green-700);font-size:22px}.empty-state h3{margin:0;color:var(--ink);font-size:16px}.empty-state p{max-width:480px;margin:6px auto 16px;font-size:12px}.hero-book{display:grid;grid-template-columns:1.3fr .7fr;gap:18px;align-items:stretch;margin-bottom:18px}.book-cover{min-height:240px;padding:28px;background:linear-gradient(145deg,#173f2a,#2f6c49);color:#fff;border-radius:20px;position:relative;overflow:hidden;box-shadow:0 15px 35px rgba(23,63,42,.2)}.book-cover:before{content:"";position:absolute;inset:13px;border:1px solid rgba(255,255,255,.22);border-radius:14px}.book-cover .cover-inner{position:relative;z-index:1}.book-cover .cover-mark{font-size:34px;margin-bottom:25px}.book-cover h1{font-family:Georgia,serif;font-size:30px;line-height:1.05;margin:0 0 9px;max-width:500px}.book-cover p{color:#d8e8df;font-size:12px;margin:0;max-width:480px}.book-meta{display:grid;gap:10px;align-content:center}.book-meta-row{padding:13px;border-bottom:1px solid #e6ded0}.book-meta-row:last-child{border-bottom:0}.book-meta-row b,.book-meta-row span{display:block}.book-meta-row b{font-size:10px;color:var(--brown);text-transform:uppercase;letter-spacing:.1em}.book-meta-row span{font-size:13px;font-weight:750}.identity-grid{display:grid;grid-template-columns:1fr 1fr;gap:0;border:1px solid #d8d1c4;border-radius:12px;overflow:hidden;background:#fff}.identity-item{display:grid;grid-template-columns:155px 18px 1fr;border-bottom:1px solid #e2ddd2;padding:9px 11px;font-size:12px}.identity-item:nth-child(odd){border-right:1px solid #e2ddd2}.identity-item:nth-last-child(-n+2){border-bottom:0}.identity-item .key{font-weight:700}.sku-detail{background:var(--cream);border:1px solid #e1d8c7;border-radius:18px;overflow:hidden}.sku-detail-head{padding:22px;background:#fff;border-bottom:1px solid #e1d8c7}.sku-number{font-size:10px;color:var(--brown);font-weight:900;letter-spacing:.12em;text-transform:uppercase}.sku-detail-head h1{font-family:Georgia,serif;font-size:25px;margin:4px 0 7px}.sku-instruction{padding:17px 20px;background:rgba(255,255,255,.5);border-bottom:1px solid #e1d8c7}.sku-instruction b{font-size:10px;color:var(--brown);letter-spacing:.08em;text-transform:uppercase}.sku-instruction p{margin:7px 0 0;font-size:13px;white-space:pre-line}.evidence-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;padding:18px}.evidence-box{background:#fff;border:1px solid #e0d8ca;border-radius:13px;padding:15px}.evidence-box h3{margin:0 0 10px;font-size:12px}.evidence-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.evidence-gallery img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:9px;border:1px solid #ddd}.review-box{margin:0 18px 18px;background:#fff;border:1px solid #e0d8ca;border-radius:13px;padding:16px}.review-box h3{margin:0 0 8px;font-size:12px}.review-note{background:#f7efe7;border-left:4px solid var(--brown);padding:10px 12px;border-radius:8px;font-size:12px}.book-table{background:#fff;border:1px solid #d9d0c0;border-radius:12px;overflow:hidden}.book-table .table{min-width:0}.book-table .table th{background:#f5eee2;color:#60472f}.book-table .table td{font-size:12px}.status-timeline{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:10px 0}.timeline-step{padding:9px;border-radius:9px;background:#eef1ee;color:#68736d;text-align:center;font-size:10px;font-weight:800}.timeline-step.active{background:#e1f0e6;color:#1d603e}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}.section-title h2,.section-title h3{margin:0;font-size:16px}.muted{color:var(--muted)}.small{font-size:11px}.footer{margin-top:auto;padding:18px 28px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:15px;color:#7a847e;font-size:10px}.auth-page,.error-page{min-height:100vh;display:grid;place-items:center;padding:20px;background:linear-gradient(145deg,#eef4ef,#f8f4eb)}.auth-card{width:min(440px,100%);background:#fff;border:1px solid var(--line);border-radius:22px;padding:28px;box-shadow:var(--shadow)}.auth-brand{display:flex;align-items:center;gap:10px;margin-bottom:24px}.auth-brand .brand-mark{width:46px;height:46px}.auth-card h1{font-family:Georgia,serif;font-size:27px;margin:0 0 6px}.auth-card p{color:var(--muted);font-size:12px;margin:0 0 18px}.auth-card label{margin:12px 0}.error-page .card{max-width:560px;text-align:center}.error-code{font-size:64px;font-weight:900;color:var(--green-800)}.thumb{width:105px;height:84px;object-fit:cover;border-radius:9px;border:1px solid #dbe4dd}.video-link{display:inline-flex;padding:9px 11px;background:var(--green-50);border-radius:9px}.danger-zone{border-color:#e7b8b4;background:#fffafa}.hide{display:none!important}.mobile-only{display:none}.w-full{width:100%}@media(max-width:1100px){.sidebar{width:245px;flex-basis:245px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-book,.grid-2{grid-template-columns:1fr}.topbar-actions .user-chip-text{display:none}}@media(max-width:899px){.sidebar{position:fixed;left:-285px;top:0;bottom:0;width:275px;transition:left .2s ease;box-shadow:20px 0 50px rgba(0,0,0,.18)}body.sidebar-open .sidebar{left:0}.sidebar-overlay{display:block;position:fixed;inset:0;background:rgba(7,20,13,.45);z-index:35;opacity:0;pointer-events:none;transition:.2s}.sidebar-open .sidebar-overlay{opacity:1;pointer-events:auto}.menu{display:grid;place-items:center}.dashboard-link{display:none}.content{padding:20px}.topbar{padding:0 16px}.footer{padding:16px 20px;flex-direction:column}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.identity-grid{grid-template-columns:1fr}.identity-item:nth-child(odd){border-right:0}.identity-item:nth-last-child(-n+2){border-bottom:1px solid #e2ddd2}.identity-item:last-child{border-bottom:0}.evidence-grid{grid-template-columns:1fr}.sku-card{grid-template-columns:42px 1fr}.sku-card .sku-side{grid-column:2;text-align:left;min-width:0}.sku-mini-progress{margin-left:0}.sku-card .btn{grid-column:2;width:max-content}.table{min-width:560px}.table-wrap.card{padding:5px}.alert{margin-left:20px;margin-right:20px}}@media(max-width:600px){body{font-size:14px}.content{padding:14px}.page-head{align-items:flex-start;flex-direction:column}.page-head h1{font-size:23px}.grid{grid-template-columns:1fr 1fr;gap:9px}.card{padding:15px;border-radius:14px}.stat{padding:13px}.stat b{font-size:24px}.stat .label{font-size:10px}.book-cover{min-height:215px;padding:22px}.book-cover h1{font-size:25px}.book-meta{padding:0 8px}.identity-item{grid-template-columns:120px 14px 1fr;font-size:11px}.topbar{height:68px}.topbar-title strong{font-size:14px}.eyebrow{font-size:8px}.topbar-actions .btn{padding:7px 9px}.user-chip{display:none}.status-timeline{grid-template-columns:1fr 1fr}.sku-detail-head h1{font-size:21px}.evidence-gallery{grid-template-columns:repeat(2,1fr)}.footer span:last-child{display:none}}@media(max-width:380px){.grid{grid-template-columns:1fr}.sku-card{grid-template-columns:40px 1fr}.sku-no{width:40px;height:40px}.identity-item{grid-template-columns:100px 12px 1fr}.actions .btn{width:100%}.actions form{width:100%}.actions form .btn{width:100%}}
.notification-link{position:relative;width:38px;height:38px;border-radius:10px;background:var(--green-50);display:grid;place-items:center;font-size:16px}.notification-link span{position:absolute;right:-3px;top:-4px;min-width:17px;height:17px;padding:0 4px;border-radius:99px;background:var(--danger);color:#fff;font-size:9px;font-weight:900;display:grid;place-items:center}.notification-list{display:grid;gap:12px;max-width:920px}.notification-item{display:flex;gap:13px;align-items:flex-start}.notification-item.unread{border-color:#bcd4c4;background:#fbfffc}.notification-icon{width:40px;height:40px;border-radius:12px;background:var(--green-100);color:var(--green-900);display:grid;place-items:center;font-weight:900;flex:none}.notification-body{flex:1;min-width:0}.notification-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.notification-head h3{margin:0;font-size:14px}.notification-head small{color:var(--muted);font-size:10px;white-space:nowrap}.notification-body p{margin:5px 0 10px;color:var(--muted);font-size:12px}
@media(max-width:600px){.notification-head{flex-direction:column;gap:2px}.notification-item{padding:13px}}
.profile-inline{display:flex;align-items:center;gap:9px}.avatar-photo{object-fit:cover}.avatar.avatar-photo{background:#fff}
