:root{--primary: #D4A72C;--primary-dark: #8A6214;--light-green: #FFF8E1;--accent: #F6D365;--brand-black: #070707;--brand-gold: #F2C94C;--text-dark: #111827;--text-gray: #6B7280;--border: #E5E7EB;--white: #FFFFFF;--error: #DC2626;--success: #22C55E;color:var(--text-dark);background:#f9fafb;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}html,body,#root{height:100%}*{box-sizing:border-box}body{margin:0;min-width:320px;overflow:hidden;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer}.splash,.auth-screen{min-height:100dvh;display:grid;place-items:stretch;padding:0;background:radial-gradient(circle at 18% 12%,rgba(246,211,101,.22),transparent 25%),radial-gradient(circle at 86% 78%,rgba(212,167,44,.2),transparent 27%),linear-gradient(150deg,#080808,#1d1607 55%,#000)}.splash{gap:12px;align-content:center;justify-items:center;color:#ffffffd1}.brand-logo{display:block;width:74px;height:auto;object-fit:contain;filter:drop-shadow(0 16px 28px rgba(0,0,0,.28))}.splash-logo{width:clamp(118px,34vw,176px)}.splash p{color:#ffffffc7;font-weight:900}.auth-card{width:100%;min-height:100dvh;display:grid;grid-template-rows:auto auto auto;align-content:center;justify-items:center;gap:22px;padding:calc(24px + env(safe-area-inset-top)) clamp(20px,6vw,36px) calc(24px + env(safe-area-inset-bottom));border-radius:0;background:transparent;box-shadow:none;color:#fff;position:relative;overflow:hidden}.auth-logo{width:150px;margin:0}h1,h2,h3,p{margin:0}.auth-card h1{text-align:center;font-size:clamp(34px,9vw,52px);line-height:1;letter-spacing:0}.auth-card p{max-width:390px;color:#ffffffb8;margin:12px 0 0;text-align:center;line-height:1.45;font-size:clamp(14px,3.5vw,16px)}.auth-copy{width:min(100%,430px)}.auth-card form{width:min(100%,430px);gap:14px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--white);-webkit-backdrop-filter:none;backdrop-filter:none}.auth-card label{color:#ffffffdb}.auth-card input{min-height:56px;border-color:#ffffff38;background:#fffffff5;color:var(--text-dark);font-size:16px}.auth-card .primary-button{width:100%;min-height:56px;margin-top:4px;background:linear-gradient(135deg,#eac85d,#b98718);color:#111827;box-shadow:0 16px 34px #d4a72c52}.auth-card .error{line-height:1.35}form{display:grid;gap:16px}label{display:grid;gap:7px;color:#596579;font-size:13px;font-weight:700}input,select,textarea{width:100%;border:1px solid #e4e9f2;border-radius:12px;background:#f8fafc;color:#121826;padding:13px 14px;outline:none}textarea{min-height:110px;resize:vertical}input:focus,select:focus,textarea:focus{border-color:var(--primary);background:#fff;box-shadow:0 0 0 4px #d4a72c29}.primary-button,.secondary-button,.text-button,.logout-button,.nav-button,.icon-button,.data-row{border:0}.primary-button{min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:14px;background:var(--primary);color:#111827;font-weight:800;padding:0 18px}.primary-button.small{min-height:40px;border-radius:12px}.place-order-button{background:linear-gradient(135deg,var(--accent),var(--primary));box-shadow:0 14px 28px #d4a72c3d}.secondary-button{min-height:46px;border-radius:14px;background:#edf2f7;color:#243044;font-weight:800;padding:0 18px}.text-button{min-height:38px;background:transparent;color:#ffffffdb;font-weight:900;padding:0}.text-button:hover{color:#fff}.error{border-radius:12px;background:#fff1f2;color:var(--error);padding:12px 14px;font-size:13px;font-weight:700}.success{border-radius:12px;background:var(--light-green);color:var(--primary-dark);padding:12px 14px;font-size:13px;font-weight:800}.config-box{border-radius:12px;background:#0b1220;color:#dbeafe;padding:14px;font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.7;overflow-wrap:anywhere}.app-shell{height:100dvh;display:grid;grid-template-columns:286px 1fr;background:radial-gradient(circle at 88% 6%,rgba(212,167,44,.11),transparent 28%),linear-gradient(180deg,#f9fafb,#fff8e1);overflow:hidden}.drawer{height:100dvh;background:#ffffffeb;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-right:1px solid #e7edf5;padding:22px;display:flex;flex-direction:column;gap:18px;position:sticky;top:0}.drawer-top,.topbar,.resource-head,.detail-top,.panel-title,.row-side,.mini-row,.role-pill,.search-box{display:flex;align-items:center}.drawer-top,.topbar,.resource-head,.panel-title{justify-content:space-between}.drawer-logo{width:118px}.drawer-top{flex:0 0 auto;justify-content:center;border-radius:8px;background:#050505;padding:12px}.drawer-top .icon-button{margin-left:auto}.profile-block{display:grid;flex:0 0 auto;gap:4px;padding:14px;border:1px solid #e9eef7;border-radius:8px;background:linear-gradient(145deg,#fff,#f3f7fd);box-shadow:0 12px 28px #0f172a0d}.profile-block span,.topbar p,.resource-head span,.detail-top span,.hero-band span,.stat-card span,.mini-row span,.data-row span{color:#667085;font-size:13px}nav{display:grid;gap:8px;flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-right:4px;scrollbar-width:thin}.nav-button,.logout-button{width:100%;min-height:46px;display:flex;align-items:center;gap:12px;border-radius:13px;background:transparent;color:#526173;padding:0 12px;font-weight:800;text-align:left}.nav-button svg,.logout-button svg{flex:0 0 auto}.nav-button.active{background:linear-gradient(135deg,#f1d36b,#a97916);color:#111827;box-shadow:0 14px 26px #d4a72c3d}.logout-button{flex:0 0 auto;color:var(--error);background:#fff1f2}.content{min-width:0;height:100dvh;overflow-y:auto;overscroll-behavior:contain;padding:22px;scrollbar-width:thin}.topbar{position:sticky;top:0;z-index:8;min-height:68px;margin-bottom:18px;gap:14px;border:1px solid rgba(226,232,240,.86);border-radius:20px;background:#ffffffd6;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:0 12px 32px #0f172a14;padding:10px 12px}.topbar-logo{width:50px;flex:0 0 auto}.topbar-title{margin-right:auto;min-width:0}.topbar p,.topbar h1{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar h1{font-size:22px;letter-spacing:0}.icon-button{width:42px;height:42px;display:inline-grid;place-items:center;border-radius:15px;background:#fff;color:#1e293b;box-shadow:0 10px 24px #0f172a14}.role-pill{gap:7px;height:36px;border-radius:999px;padding:0 12px;background:var(--light-green);color:var(--primary-dark);font-size:13px;font-weight:900;max-width:220px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard,.resource,.details{display:grid;gap:18px}.hero-band{min-height:150px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-radius:8px;padding:24px;background:radial-gradient(circle at 92% 18%,rgba(255,255,255,.22),transparent 22%),linear-gradient(135deg,#121212,#8a6214);color:#fff;box-shadow:0 20px 44px #d4a72c2e}.hero-band span{color:#ffffffb8;font-weight:800}.hero-band h2{max-width:650px;margin-top:8px;font-size:clamp(26px,4vw,42px);line-height:1.05}.stat-grid{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:12px}.stat-card,.panel,.list-panel,.form-panel,.report-card{border:1px solid #e7edf5;border-radius:8px;background:#fffffff0;box-shadow:0 12px 30px #0f172a0d}.stat-card{min-height:120px;display:grid;gap:8px;align-content:center;padding:18px;position:relative;overflow:hidden}.stat-card:after{content:"";width:54px;height:54px;position:absolute;right:-18px;top:-18px;border-radius:999px;background:#2563eb17}.stat-card svg{color:var(--primary)}.stat-card strong{font-size:28px}.panel,.form-panel,.report-card{padding:18px}.mini-list{display:grid;gap:8px;margin-top:14px}.mini-row{gap:12px;min-height:58px;border-radius:8px;background:#f8fafc;padding:10px 12px}.mini-row div{display:grid;gap:3px;margin-right:auto}.resource-head h2,.detail-top h2{font-size:26px}.resource-head span,.detail-top{gap:10px}.search-box{gap:10px;border:1px solid #e7edf5;border-radius:16px;background:#fff;padding:0 14px;box-shadow:0 10px 24px #0f172a0a}.search-box input{border:0;background:transparent;box-shadow:none}.list-panel{overflow:hidden}.data-row{width:100%;min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;background:#fff;color:inherit;text-align:left;border-bottom:1px solid #edf2f7}.data-row:first-child,.purchase-row:first-child,.payment-card:first-child,.invoice-row:first-child,.delivery-row:first-child{border-top-left-radius:8px;border-top-right-radius:8px}.data-row:last-child,.purchase-row:last-child,.payment-card:last-child,.invoice-row:last-child,.delivery-row:last-child{border-bottom:0;border-bottom-left-radius:8px;border-bottom-right-radius:8px}.data-row:hover{background:#f8fbff}.row-main{min-width:0;display:grid;gap:5px}.row-main strong,.row-main span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row-side{gap:8px;flex-shrink:0}.status{display:inline-flex;align-items:center;justify-content:center;min-height:28px;border-radius:999px;padding:0 10px;background:#eef2f7;color:#475569;font-size:12px;font-weight:900}.status.active{background:var(--light-green);color:var(--primary-dark)}.status.inactive,.status.retired{background:#fee2e2;color:var(--error)}.status.maintenance,.status.pending,.status.partial,.status.closed{background:#fef3c7;color:#b45309}.status.paid,.status.open,.status.submitted,.status.purchased{background:var(--light-green);color:var(--primary-dark)}.status.not.paid,.status.cancelled{background:#fee2e2;color:var(--error)}.form-panel{grid-template-columns:repeat(2,minmax(0,1fr))}.form-panel label:has(textarea),.form-panel .error,.form-actions{grid-column:1 / -1}.toggle-row{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid #e7edf5;border-radius:12px;background:#f8fafc;padding:0 14px;cursor:pointer;-webkit-user-select:none;user-select:none}.toggle-row input{position:absolute;opacity:0;pointer-events:none}.toggle-row:has(input:focus-visible){border-color:var(--primary);box-shadow:0 0 0 4px #d4a72c29}.toggle-row:has(input:disabled){cursor:not-allowed;opacity:.68}.switch-track{width:46px;height:26px;flex:0 0 auto;display:inline-flex;align-items:center;border-radius:999px;padding:3px;background:#cbd5e1;transition:background .16s ease}.switch-track span{width:20px;height:20px;border-radius:999px;background:#fff;box-shadow:0 2px 8px #0f172a38;transition:transform .16s ease}.toggle-row.checked .switch-track{background:linear-gradient(135deg,var(--accent),var(--primary))}.toggle-row.checked .switch-track span{transform:translate(20px)}.form-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:8px}.empty{min-height:150px;display:grid;place-items:center;align-content:center;gap:8px;color:#758195;font-weight:800}.info-grid,.filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.filter-grid.panel,.info-grid.panel,.invoice-summary.panel{border:0;background:#fffffff5;box-shadow:0 18px 38px #0f172a12}.filter-grid label{color:#526173}.info-card{display:grid;gap:5px;border-radius:8px;background:#f8fafc;padding:14px}.info-card span,.muted{color:#667085;font-size:13px}.info-card strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-form{grid-template-columns:1fr}.shop-order-hero{min-height:150px;display:flex;align-items:flex-end;justify-content:space-between;gap:18px;border-radius:8px;padding:20px;background:radial-gradient(circle at 88% 20%,rgba(242,201,76,.32),transparent 24%),linear-gradient(135deg,#080808,#8a6214);color:#fff;box-shadow:0 18px 42px #8a621438}.shop-order-hero span,.shop-order-hero p,.order-summary-bar span{color:#ffffffb8;font-size:13px;font-weight:800}.shop-order-hero h2{margin-top:8px;font-size:clamp(26px,5vw,38px);line-height:1.05}.shop-order-hero p{margin-top:8px}.order-count-pill{flex:0 0 auto;display:inline-flex;align-items:center;min-height:38px;border-radius:999px;padding:0 14px;background:#ffffff24;color:#f6d365;font-weight:900}.order-meta-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.order-builder{display:grid;gap:14px}.order-search{min-height:54px;display:flex;align-items:center;gap:10px;border:2px solid rgba(37,99,235,.45);border-radius:16px;background:#fff;color:#2563eb;padding:0 14px;box-shadow:0 12px 26px #2563eb14}.order-search input{border:0;background:transparent;min-height:48px;padding:0;box-shadow:none;color:#111827}.category-tabs{display:flex;gap:8px;overflow-x:auto;padding:2px 0 10px;scrollbar-width:none;border-bottom:1px solid rgba(226,232,240,.9)}.category-tabs::-webkit-scrollbar{display:none}.category-tabs button{flex:0 0 auto;min-height:40px;border:0;border-radius:12px;padding:0 16px;background:#f8fafc;color:#526173;font-weight:900;position:relative}.category-tabs button.active{background:#fff8e1;color:#111827}.category-tabs button.active:after{content:"";position:absolute;left:12px;right:12px;bottom:-10px;height:4px;border-radius:999px;background:linear-gradient(135deg,#f1d36b,#a97916)}.order-item-list{display:grid;gap:10px}.order-item-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(96px,120px) minmax(130px,160px);gap:10px;align-items:center;border:1px solid #e7edf5;border-radius:8px;background:#fff;padding:12px;box-shadow:0 10px 24px #0f172a0a}.order-item-card.selected{border-color:#d4a72c94;background:#fffbeb}.order-item-card>div:first-child{display:grid;gap:4px;min-width:0}.order-item-card strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-item-card span{color:var(--text-gray);font-size:12px;font-weight:800}.qty-stepper{display:grid;grid-template-columns:38px minmax(0,1fr) 38px;align-items:center;border:1px solid #e4e9f2;border-radius:10px;background:#f8fafc;overflow:hidden}.qty-stepper button{height:42px;border:0;background:#fff;color:#111827;font-size:20px;font-weight:900}.qty-stepper input{height:42px;min-height:42px;border:0;border-radius:0;background:transparent;text-align:center;padding:0 6px;box-shadow:none}.order-summary-bar{position:sticky;bottom:12px;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:12px;border-radius:8px;background:#080808;color:#fff;padding:12px;box-shadow:0 18px 42px #0f172a38}.order-summary-bar>div{display:grid;gap:2px}.download-panel{display:grid;justify-items:center;gap:16px;border:1px solid #e7edf5;border-radius:8px;background:#fffffff5;padding:28px;text-align:center;box-shadow:0 18px 38px #0f172a12}.download-badge{width:78px;height:78px;display:grid;place-items:center;border-radius:8px;background:#050505;color:var(--brand-gold)}.download-panel h3{font-size:22px}.download-panel p{margin-top:6px;color:var(--text-gray)}.disabled-link{pointer-events:none;opacity:.55}.line-grid{display:grid;grid-template-columns:1.2fr 1.3fr .8fr .7fr 42px;gap:10px;align-items:center}.header-row{color:#667085;font-size:12px;text-transform:uppercase}.inline-date{min-width:180px}.row-actions{display:grid;grid-template-columns:minmax(150px,220px) auto;gap:10px;align-items:center}.report-card{display:grid;gap:12px;border-width:0 0 1px;border-radius:0;box-shadow:none}.report-card pre{margin:0;white-space:pre-wrap;font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,monospace;color:#334155;background:#f8fafc;border-radius:8px;padding:12px}.purchase-row{display:grid;grid-template-columns:minmax(190px,1fr) 120px 120px 110px auto;gap:10px;align-items:center;padding:14px 16px;border-bottom:1px solid #edf2f7;background:#fff}.purchase-row>div:first-child{display:grid;gap:4px;min-width:0}.purchase-row span{color:#667085;font-size:13px}.payment-card{display:grid;gap:14px;padding:16px;border-bottom:1px solid #edf2f7;background:#fff}.payment-main,.payment-actions,.payment-totals,.history-row{display:flex;align-items:center}.payment-main{justify-content:space-between;gap:16px}.payment-main>div:first-child{display:grid;gap:4px;min-width:0}.payment-main span,.payment-history span{color:#667085;font-size:13px}.payment-totals{gap:10px;flex-wrap:wrap;justify-content:flex-end}.payment-totals .info-card{min-width:112px;padding:10px 12px}.payment-actions{display:grid;grid-template-columns:minmax(120px,180px) minmax(120px,180px) auto;gap:10px;justify-content:end}.payment-history{display:grid;gap:8px;border-radius:8px;background:#f8fafc;padding:12px}.history-row{justify-content:space-between;gap:12px;min-height:28px;border-top:1px solid #e7edf5;padding-top:8px}.amount-pill{display:inline-flex;justify-content:center;min-height:38px;align-items:center;border-radius:999px;background:var(--light-green);color:var(--primary-dark)!important;font-weight:900}.invoice-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.invoice-row,.delivery-row{display:grid;gap:12px;padding:14px 16px;border-bottom:1px solid var(--border);background:var(--white)}.invoice-row{grid-template-columns:minmax(180px,1.4fr) repeat(4,minmax(86px,1fr));align-items:stretch}.invoice-row>div:first-child,.delivery-point,.delivery-item{display:grid;gap:5px;min-width:0}.invoice-row span,.delivery-point span,.delivery-point small,.delivery-item span{color:var(--text-gray);font-size:13px}.delivery-row{grid-template-columns:1fr 1fr minmax(150px,.8fr)}.delivery-point{border:1px solid var(--border);border-radius:8px;background:#f9fafb;padding:12px}.delivery-point.pickup{background:var(--light-green);border-color:#16a34a33}.delivery-item{align-content:center;border-radius:8px;background:#fff8e1;color:var(--text-dark);padding:12px}.delivery-item svg{color:var(--primary-dark)}.desktop-hidden,.shade{display:none}@media (max-width: 920px){html,body,#root{width:100%;max-width:100%;overflow-x:hidden}body{overflow:hidden;min-width:0}.app-shell{display:block;height:100dvh}.drawer{width:min(82vw,300px);position:fixed;inset:0 auto 0 0;z-index:20;transform:translate(-104%);transition:transform .18s ease;box-shadow:20px 0 70px #0f172a3d;padding:calc(12px + env(safe-area-inset-top)) 12px calc(12px + env(safe-area-inset-bottom));gap:10px;overflow:hidden}.drawer-logo{width:82px}.drawer-top{justify-content:space-between;padding:10px 12px}.profile-block{padding:10px 12px}nav{gap:4px;overflow-y:auto;padding-right:2px}.nav-button,.logout-button{min-height:38px;gap:10px;border-radius:8px;padding:0 10px;font-size:13px}.nav-button svg,.logout-button svg{width:17px;height:17px}.drawer.open{transform:translate(0)}.shade.show{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:10;background:#0f172a5c}.desktop-hidden{display:grid}.content{height:100dvh;width:100%;max-width:100vw;padding:calc(8px + env(safe-area-inset-top)) 8px calc(18px + env(safe-area-inset-bottom));overflow-x:hidden}.topbar{top:calc(8px + env(safe-area-inset-top));min-height:46px;margin-bottom:10px;border-radius:8px;gap:7px;padding:6px;overflow:hidden;justify-content:flex-start}.topbar-logo{width:34px;display:none}.icon-button{width:32px;height:32px;border-radius:10px}.topbar-title{flex:1 1 auto}.role-pill{display:inline-flex;flex:0 1 auto;max-width:calc(100vw - 68px);height:30px;margin-left:auto;padding:0 9px;border-radius:8px;font-size:12px}.role-pill svg{display:none}.dashboard,.resource,.details{gap:10px;min-width:0;width:100%}.resource-head{display:grid;grid-template-columns:1fr;align-items:start;gap:8px}.resource-head>div{min-width:0}.resource-head .primary-button,.resource-head .secondary-button,.resource-head .row-actions,.resource-head .inline-date{width:100%}.resource-head .row-actions{grid-template-columns:1fr}.topbar,.hero-band,.stat-grid,.panel,.form-panel,.list-panel,.data-row,.payment-card,.invoice-row,.delivery-row{max-width:100%;min-width:0}.row-main,.payment-main>div:first-child,.invoice-row>div:first-child{min-width:0}.panel,.form-panel,.report-card{padding:10px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.stat-card{min-height:92px;padding:12px;gap:6px}.stat-card strong{font-size:23px}.stat-card span{font-size:12px}.form-panel{grid-template-columns:1fr}.info-grid,.filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.line-grid,.purchase-row,.payment-main,.payment-actions,.invoice-row,.delivery-row{grid-template-columns:1fr}.line-grid{gap:12px;padding:12px;border:1px solid #edf2f7;border-radius:8px;background:#fff}.line-grid .icon-button{width:100%;box-shadow:none;background:#fff1f2;color:var(--error)}.order-form{padding:12px}.shop-order-hero{min-height:128px;padding:16px}.shop-order-hero h2{font-size:25px}.order-meta-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.order-item-card{grid-template-columns:1fr;gap:9px;padding:11px}.order-item-card strong{white-space:normal}.order-item-card select{min-height:42px}.qty-stepper{grid-template-columns:44px minmax(0,1fr) 44px}.order-summary-bar{bottom:calc(10px + env(safe-area-inset-bottom));padding:10px}.payment-main{display:grid;align-items:stretch}.payment-actions,.payment-totals{justify-content:stretch}.invoice-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.header-row{display:none}.row-actions{width:100%;grid-template-columns:1fr auto}input,select,textarea{min-height:46px;border-radius:10px;font-size:15px;padding:10px 12px}}@media (max-width: 480px){.auth-card{gap:18px;padding:calc(22px + env(safe-area-inset-top)) 18px calc(22px + env(safe-area-inset-bottom))}.auth-logo{width:126px}.auth-card h1{font-size:34px}.auth-card p{font-size:14px}.hero-band{min-height:104px;padding:14px}.hero-band h2{font-size:24px}.hero-band span{font-size:12px}.hero-band svg{display:none}.resource-head{align-items:flex-start;gap:12px;flex-wrap:wrap}.resource-head .primary-button{width:auto}.data-row{min-height:62px;padding:10px;align-items:flex-start}.row-side{align-self:center}.form-actions{display:grid;grid-template-columns:1fr}.form-actions .primary-button,.form-actions .secondary-button{width:100%}.payment-card{padding:12px}.payment-totals .info-card{min-width:0;width:calc(50% - 5px)}.history-row{display:grid;grid-template-columns:1fr auto}.history-row span:nth-child(2){grid-column:1 / -1}.topbar h1{font-size:16px}.topbar p{font-size:11px}.resource-head h2,.detail-top h2{font-size:20px}.primary-button,.secondary-button{min-height:38px;border-radius:11px;padding:0 12px;font-size:13px}.primary-button.small{min-height:36px}.status{max-width:92px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.info-grid,.filter-grid,.row-actions,.invoice-summary{grid-template-columns:1fr}.inline-date{width:100%}}@media (max-height: 680px){.auth-card{gap:12px;padding-top:calc(18px + env(safe-area-inset-top))}.auth-logo{width:104px}.auth-card h1{font-size:30px}.auth-card p{margin-top:8px;font-size:13px}.auth-card form{padding:14px;gap:10px}.auth-card input,.auth-card .primary-button{min-height:48px}}
