:root{font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,PingFang SC,Hiragino Sans GB,sans-serif;color:#171717;background:#f8f7f4;font-synthesis:none;line-height:1.5}*{box-sizing:border-box}body{margin:0;background:#f8f7f4}button,input,select{font:inherit}button{cursor:pointer}.login-page{min-height:100vh;display:grid;place-items:center;padding:32px;background:radial-gradient(circle at 50% -20%,#fff 0,#f8f7f4 56%)}.login-card{width:min(440px,100%);padding:48px 44px 40px;background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:24px;box-shadow:0 20px 60px #1e190f14}.brand-mark{font-size:20px;letter-spacing:.08em;font-weight:700}.brand-subtitle{margin:8px 0 46px;color:#737373;font-size:13px}.login-card h1{margin:0;font-size:32px;letter-spacing:-.04em}.login-intro{margin:10px 0 30px;color:#737373}.login-form,.stack-form{display:grid;gap:18px}.login-form label,.stack-form label{display:grid;gap:8px;color:#555;font-size:13px}.login-form input,.stack-form input,.stack-form select{width:100%;height:44px;padding:0 13px;border:1px solid #d9d7d2;border-radius:10px;background:#fff;color:#171717;outline:none}.login-form input:focus,.stack-form input:focus,.stack-form select:focus{border-color:#a8835c;box-shadow:0 0 0 3px #a8835c21}.password-field{position:relative}.password-field input{padding-right:64px}.password-field button{position:absolute;right:8px;top:7px;border:0;background:transparent;color:#8d6b48;font-size:12px;padding:5px}.login-options{display:flex;justify-content:space-between;align-items:center;font-size:13px}.checkbox{display:flex!important;align-items:center;display:flex;gap:7px!important}.checkbox input{width:15px;height:15px}.text-button,.icon-button{border:0;background:transparent;color:#8d6b48}.primary-button,.secondary-button{border:1px solid transparent;border-radius:10px;padding:10px 16px;font-weight:600}.primary-button{background:#2e2b27;color:#fff}.primary-button:hover{background:#1d1b18}.primary-button:disabled{opacity:.55;cursor:wait}.wide{width:100%;height:46px}.secondary-button{background:#fff;border-color:#d9d7d2;color:#3f3b36}.secondary-button:hover{background:#f3f1ee}.danger{color:#a34336;border-color:#e5c5c0}.form-error{padding:10px 12px;border-radius:9px;background:#fff1ef;color:#a33b30;font-size:13px}.login-footnote{margin:26px 0 0;text-align:center;color:#999;font-size:12px}.loading-screen{min-height:100vh;display:grid;place-items:center;color:#737373}.app-shell{min-height:100vh;display:flex}.sidebar{width:250px;flex:none;display:flex;flex-direction:column;background:#f3f1ee;border-right:1px solid rgba(0,0,0,.07);padding:28px 16px 18px}.side-brand{font-weight:700;letter-spacing:.08em;padding:0 12px 38px}.side-brand span{display:block;margin-top:4px;font-size:11px;letter-spacing:0;color:#8d8b86;font-weight:400}.sidebar nav{display:grid;gap:5px}.nav-item{display:flex;align-items:center;gap:12px;width:100%;border:0;background:transparent;border-radius:10px;padding:12px;color:#666;text-align:left;font-size:14px}.nav-item:first-letter{font-size:16px}.nav-item.active,.nav-item:hover{background:#e6e1da;color:#24211e}.nav-item.disabled{opacity:.55;cursor:not-allowed}.nav-item em{margin-left:auto;font-size:10px;font-style:normal;color:#9c8b76}.nav-divider{height:1px;background:#00000012;margin:18px 10px}.side-footer{margin-top:auto;display:flex;align-items:center;gap:10px;padding:12px 8px;border-top:1px solid rgba(0,0,0,.07)}.side-footer strong,.side-footer small{display:block}.side-footer strong{font-size:13px}.side-footer small{margin-top:2px;color:#999;font-size:10px}.side-footer .icon-button{margin-left:auto;font-size:18px}.avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#8d6b48;color:#fff;border:0;font-weight:700}.avatar.small{width:30px;height:30px;font-size:12px}.avatar.large{width:58px;height:58px;font-size:24px}.main-column{min-width:0;flex:1}.topbar{height:70px;display:flex;align-items:center;justify-content:space-between;padding:0 38px;border-bottom:1px solid rgba(0,0,0,.07);background:#fbfaf8}.breadcrumb{font-size:13px;color:#737373}.top-actions{display:flex;align-items:center;gap:18px}.security-note{font-size:12px;color:#8e8b84}.content{max-width:1180px;margin:0 auto;padding:66px 52px 90px}.eyebrow{font-size:12px;letter-spacing:.08em;color:#a27f58;margin-bottom:12px}.home-view h1,.page-heading h1,.account-view h1,.placeholder-view h1{margin:0;font-size:42px;line-height:1.2;letter-spacing:-.05em;font-weight:650}.home-lead,.page-heading p,.placeholder-view p{margin:14px 0 0;color:#737373;font-size:16px}.module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:58px}.module-card{min-height:188px;padding:24px;border:1px solid #dedbd5;border-radius:18px;background:#fff;text-align:left;display:flex;flex-direction:column;align-items:flex-start;transition:transform .18s,box-shadow .18s}.module-card:not(:disabled):hover{transform:translateY(-2px);box-shadow:0 10px 24px #281e1414}.module-card strong{margin-top:24px;font-size:18px}.module-card small{margin-top:8px;color:#85817b;font-size:13px}.module-card.muted{opacity:.58;cursor:not-allowed}.module-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;font-weight:700}.module-icon.warm{background:#f3e8dc;color:#9b6d45}.module-icon.blue{background:#e5eef2;color:#52798b}.module-icon.orange{background:#f6e5d9;color:#b86b42}.home-note{display:grid;grid-template-columns:auto 1fr auto 1fr;gap:12px 18px;margin-top:52px;padding:18px 20px;border-top:1px solid #dedbd5;border-bottom:1px solid #dedbd5;color:#8a8781;font-size:12px}.home-note strong{color:#35312d;font-size:13px}.page-heading{display:flex;justify-content:space-between;align-items:flex-start}.role-badge{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#eee7de;color:#806343;font-size:12px}.admin-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px;margin-top:34px}.panel{background:#fff;border:1px solid #dedbd5;border-radius:16px}.panel-heading{display:flex;justify-content:space-between;align-items:center;padding:20px 22px;border-bottom:1px solid #ece9e3}.panel-heading h2,.create-panel h2,.security-card h2{margin:0;font-size:17px}.panel-heading span,.panel-caption{color:#999;font-size:12px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;min-width:620px}th,td{padding:14px 20px;border-bottom:1px solid #f0ede8;text-align:left;font-size:12px;color:#6f6b65}th{color:#9a958d;font-weight:500}td strong,td small{display:block}td strong{color:#33302c;font-size:13px}td small{margin-top:3px;color:#999}tbody tr{cursor:pointer}tbody tr:hover,tbody tr.selected{background:#faf7f2}.status{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:11px}.status.active{background:#e8f1e9;color:#55705a}.status.inactive{background:#f5e7e5;color:#9b5d55}.create-panel{padding:22px}.create-panel h2{margin-bottom:7px}.panel-caption{margin:0 0 22px}.detail-panel{margin-top:18px;padding:24px}.detail-heading{display:flex;justify-content:space-between}.detail-heading h2{margin:0;font-size:22px}.detail-heading p{margin:5px 0 0;color:#888;font-size:13px}.detail-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:26px}.detail-grid span,.detail-grid strong{display:block}.detail-grid span{color:#999;font-size:11px}.detail-grid strong{margin-top:5px;font-size:13px}.detail-actions{display:flex;gap:10px;align-items:center;margin-top:25px}.detail-actions select{height:38px;border:1px solid #d9d7d2;border-radius:9px;padding:0 10px;background:#fff}.success-banner{margin-top:24px;padding:11px 13px;border-radius:9px;background:#e8f1e9;color:#55705a;font-size:13px}.account-card{display:flex;gap:18px;align-items:center;margin-top:30px;padding:28px}.account-card h2{margin:0;font-size:22px}.account-card p{margin:5px 0 10px;color:#777}.security-card{margin-top:18px;padding:24px}.setting-row{display:flex;align-items:center;justify-content:space-between;padding:18px 0;border-top:1px solid #eeeae4}.setting-row:first-of-type{margin-top:8px}.setting-row strong,.setting-row small{display:block}.setting-row strong{font-size:14px}.setting-row small{margin-top:4px;color:#999;font-size:12px}.placeholder-view{max-width:700px;padding-top:80px}.placeholder-view p{max-width:560px;margin-bottom:30px}@media(max-width:900px){.sidebar{width:210px}.content{padding:48px 28px}.admin-layout{grid-template-columns:1fr}.create-panel{order:-1}.detail-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:680px){.sidebar{width:64px;padding:22px 8px}.side-brand{font-size:0;padding:0 10px 34px}.side-brand:first-letter{font-size:18px}.side-brand span,.nav-item span,.nav-item em,.side-footer>div:not(.avatar),.side-footer .icon-button{display:none}.nav-item,.side-footer{justify-content:center;padding:12px 0}.topbar{padding:0 18px}.breadcrumb{max-width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.security-note{display:none}.content{padding:34px 18px}.home-view h1,.page-heading h1,.account-view h1,.placeholder-view h1{font-size:32px}.module-grid{grid-template-columns:1fr;margin-top:34px}.module-card{min-height:150px}.home-note{grid-template-columns:1fr 1fr}.detail-actions{flex-wrap:wrap}}.app-shell{height:100dvh;min-height:100vh;overflow:hidden}.sidebar{min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;padding-bottom:calc(18px + env(safe-area-inset-bottom))}.main-column{min-height:0;display:flex;flex-direction:column}.content{min-height:0;overflow-y:auto;padding-bottom:calc(90px + env(safe-area-inset-bottom))}
