:root{--bg:#fbf7f2;--paper:#fffdfb;--ink:#41352e;--muted:#8a7d73;--line:#e9dfd5;--rose:#e5bdb5;--deep:#79584e;--champagne:#c7ab7e;--green:#466456;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-size:15px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{touch-action:manipulation}button{border:1px solid var(--line);background:var(--paper);padding:11px 17px;border-radius:12px;cursor:pointer;line-height:1.3}button:hover{border-color:var(--champagne)}button:disabled{opacity:.55;cursor:wait}button.primary,.primary{background:var(--deep);border-color:var(--deep);color:white}.quiet{border-color:transparent;background:transparent}.small{font-size:.85rem;padding:8px 12px}a{color:var(--deep)}[hidden]{display:none!important}h1,h2,h3,p{margin-top:0}h1,h2{font-family:Georgia,serif;font-weight:400}h1{font-size:2.4rem;margin-bottom:12px;letter-spacing:-.04em}h2{font-size:1.7rem;margin-bottom:14px}h3{font-size:1.05rem;font-weight:500}p{line-height:1.65}small,.muted{color:var(--muted)}.eyebrow{font-size:.7rem;font-weight:650;letter-spacing:.15em;color:var(--muted);margin-bottom:13px}.card{border:1px solid var(--line);border-radius:20px;background:var(--paper);padding:25px}.auth{min-height:100svh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 20% 10%,#f3ded7,transparent 65%)}.authcard{max-width:430px;width:100%;box-shadow:0 20px 80px #79584e10}.authcard img{width:100px;height:100px;border-radius:22px;margin-bottom:26px}.authcard h1{font-size:2.2rem}.authcard label{margin-top:17px}.authcard .primary{width:100%;margin-top:20px}label{display:flex;flex-direction:column;gap:8px;font-size:.88rem;font-weight:500}input,select,textarea{width:100%;border:1px solid var(--line);border-radius:10px;padding:11px;background:white;min-height:44px}textarea{resize:vertical;min-height:95px}select[multiple]{min-height:130px}input:focus,select:focus,textarea:focus{outline:2px solid #c7ab7e88;outline-offset:1px}aside{position:fixed;inset:0 auto 0 0;width:238px;padding:26px 17px;background:#fffaf6;border-right:1px solid var(--line);display:flex;flex-direction:column}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;margin:4px 3px 34px}.brand img{width:57px;height:57px;border-radius:14px}.brand span{font-family:Georgia,serif;font-size:1.5rem}.brand small{display:block;font-family:inherit;font-size:.57rem;letter-spacing:.22em;margin-top:7px}nav{display:flex;flex-direction:column;gap:4px}#nav{overflow-y:auto}nav a{text-decoration:none;padding:11px 15px;border-radius:10px;font-size:.92rem;color:var(--muted)}nav a:hover{background:#f7ece7}nav a.active{color:var(--deep);background:#f1dfd8;font-weight:600}.navlabel{padding:22px 15px 7px;font-size:.64rem;letter-spacing:.15em;color:#a3978b}.sidefooter{font-size:.66rem;color:var(--muted);margin:auto 10px 0;padding-top:22px}.workspace{margin-left:238px}header{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:76px;border-bottom:1px solid var(--line);padding:15px 36px;background:#fffaf680}header>div{display:flex;gap:6px}.status{font-size:.8rem;color:var(--green)}.status:before{content:"";width:6px;height:6px;background:currentColor;display:inline-block;border-radius:50%;margin-right:9px}.mobilebrand{display:none}main{padding:42px 40px;max-width:1450px;margin:auto;min-height:calc(100svh - 130px)}footer{color:var(--muted);font-size:.7rem;text-align:center;padding:20px}.pagehead{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:27px}.pagehead p{margin-bottom:0}.hero{padding:34px;background:linear-gradient(115deg,#f1dfd6,#fff9f1);border:1px solid #e6d5c9;border-radius:23px;margin-bottom:25px;display:flex;justify-content:space-between;gap:30px;align-items:center}.hero h1{font-size:2.8rem}.hero p{max-width:600px;margin-bottom:0}.hero img{width:145px;height:145px;border-radius:29px;transform:rotate(3deg);box-shadow:0 10px 25px #79584e17}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.metric{font-size:2.6rem;font-family:Georgia,serif;display:block;margin:8px 0 15px}.card .link{display:inline-block;margin-top:10px;color:var(--deep)}.guide{margin-top:24px}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:20px}.steps strong{display:block;font-size:.92rem;margin-bottom:8px}.steps p{font-size:.86rem;color:var(--muted)}.toolbar{display:flex;gap:10px;align-items:center;margin:0 0 20px}.toolbar input{max-width:390px}.tablewrap{overflow:auto;border:1px solid var(--line);border-radius:16px;background:var(--paper)}table{border-collapse:collapse;width:100%;text-align:left}th{font-size:.7rem;font-weight:600;letter-spacing:.03em;color:var(--muted);background:#f7f0e9;padding:14px 18px;white-space:nowrap}td{border-top:1px solid var(--line);padding:15px 18px;font-size:.87rem;vertical-align:middle;min-width:110px;max-width:330px;overflow-wrap:anywhere}td:first-child{font-weight:500}tr:hover td{background:#fcf5f0}td:last-child{white-space:nowrap}.empty{padding:55px 25px;text-align:center}.empty h2{margin-bottom:12px}.empty p{color:var(--muted);max-width:480px;margin:0 auto 22px}.pager{display:flex;justify-content:space-between;align-items:center;margin-top:18px;color:var(--muted);font-size:.83rem}.pager>div{display:flex;gap:8px}.pill{border-radius:20px;padding:4px 10px;font-size:.76rem;display:inline-block;background:#efe7dd;color:var(--deep)}.pill.yes{background:#e8eee7;color:var(--green)}.error{color:#a7403f;font-size:.88rem;white-space:pre-line}.error:empty{display:none}.alert{padding:20px;border:1px solid #e7c2ba;border-radius:14px;background:#fff2ec}.viewlink{font-size:.8rem;color:var(--muted)}dialog{border:1px solid var(--line);border-radius:22px;padding:0;width:min(830px,calc(100vw - 28px));max-height:90svh;background:var(--paper);color:var(--ink);box-shadow:0 30px 100px #41352e33}dialog::backdrop{background:#41352e55;backdrop-filter:blur(3px)}#editForm{padding:27px}.dialoghead{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}.dialoghead button{font-size:1.7rem;padding:0 9px}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:19px}.formgrid .wide{grid-column:1/-1}.formgrid small{font-weight:400;line-height:1.5}.checkbox{flex-direction:row;align-items:center;min-height:44px}.checkbox input{width:19px;min-height:19px;accent-color:var(--deep)}.readonly{border-radius:10px;padding:11px;background:#f4ede6;font-weight:400;min-height:40px}.dialogfoot{display:flex;justify-content:flex-end;gap:10px;margin-top:27px;padding-top:20px;border-top:1px solid var(--line)}#toast{position:fixed;left:50%;bottom:30px;transform:translateX(-50%);border-radius:14px;background:var(--ink);color:white;padding:15px 22px;box-shadow:0 10px 40px #41352e33;max-width:90vw;z-index:10}#mobileNav{display:none}.sectionlinks{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 22px}.sectionlinks a{padding:8px 13px;border:1px solid var(--line);border-radius:10px;text-decoration:none;font-size:.82rem}.stocknumber{font-variant-numeric:tabular-nums}.hint{font-size:.83rem;color:var(--muted);margin-top:15px}
@media(max-width:1100px){aside{width:200px}.workspace{margin-left:200px}main{padding:30px 24px}.hero{padding:26px}.hero h1{font-size:2.3rem}.hero img{width:115px;height:115px}.grid{gap:12px}.card{padding:21px}.steps{gap:14px}}
@media(max-width:760px){aside{display:none}.workspace{margin-left:0}header{padding:14px 17px;min-height:67px;flex-wrap:wrap}.mobilebrand{display:inline;font-family:Georgia,serif;font-size:1.4rem}header .status{font-size:.72rem}header>div{margin-left:auto}header .small{padding:7px 9px;font-size:.74rem}main{padding:25px 16px 90px}.hero{padding:25px;gap:12px}.hero h1{font-size:2rem}.hero img{width:80px;height:80px}.hero .eyebrow{font-size:.58rem}.hero p{font-size:.85rem}.grid{grid-template-columns:1fr 1fr}.grid .card:last-child{grid-column:1/-1}.metric{font-size:2.2rem}.steps{grid-template-columns:1fr;gap:0}.pagehead{align-items:flex-start;gap:12px}.pagehead h1{font-size:2rem}.pagehead p{font-size:.83rem}.pagehead .primary{padding:10px 12px;font-size:.83rem}.formgrid{grid-template-columns:1fr}.formgrid .wide{grid-column:auto}#editForm{padding:22px}#mobileNav{position:fixed;bottom:0;left:0;right:0;background:#fffaf6f5;border-top:1px solid var(--line);display:flex;flex-direction:row;justify-content:space-around;padding:10px 4px max(10px,env(safe-area-inset-bottom));z-index:4}#mobileNav a{font-size:.69rem;padding:8px 7px;text-align:center}.tablewrap{border-radius:12px}td{padding:13px}.viewlink{display:none}.toolbar input{max-width:100%}#toast{bottom:85px}.hero img{align-self:flex-start}h2{font-size:1.5rem}}
