:root { --ink:#062a2b; --green:#0b7055; --green-dark:#003c36; --mint:#dce8d2; --paper:#f8f9f5; --line:#d9ded7; --muted:#64716b; --white:#fff; }
* { box-sizing:border-box; }
body { margin:0; color:var(--ink); background:#eef3e8; font-family:Arial, Helvetica, sans-serif; }
.hidden { display:none !important; }
.loading { min-height:100vh; display:grid; place-items:center; color:var(--green-dark); }
.login-page { min-height:100vh; padding:30px 4%; display:grid; place-items:center; background:linear-gradient(135deg,#e4edd9,#fafbf7); }
.login-card { width:min(995px,100%); min-height:738px; background:#fff; border-right:7px solid #26ce76; box-shadow:26px 25px 0 #ccdbc9; }
.brand-banner { height:166px; display:flex; background:#003c36; overflow:hidden; }
.anniversary { width:36%; display:flex; flex-direction:column; align-items:center; justify-content:center; color:#fff; font-family:Georgia,serif; font-weight:bold; letter-spacing:1px; font-size:21px; }
.anniversary::before,.anniversary::after { content:""; width:78%; border-top:2px solid #b3d0c8; margin:7px 0; }
.leather { flex:1; background:linear-gradient(110deg,#0c6148 0 3%,transparent 3%),radial-gradient(ellipse at 70% 40%,#59605e 0,#202725 35%,#080b0b 70%); position:relative; }
.leather::after { content:""; position:absolute; inset:20px 12% 0 25%; border:4px solid #737a77; border-bottom:0; border-radius:50% 50% 0 0; transform:skewX(-8deg); opacity:.75; }
.login-content { padding:110px 10% 70px; max-width:790px; }
.eyebrow { margin:0 0 15px; color:var(--green); letter-spacing:3px; font-family:Georgia,serif; font-weight:bold; font-size:13px; }
.login-content h1 { font-size:74px; line-height:.96; font-weight:400; margin:0 0 24px; letter-spacing:-3px; }
.login-title-detail { font-size:.72em; letter-spacing:-2px; }
.subtitle { max-width:650px; color:#657168; font-size:18px; line-height:1.5; }
.login-button { margin-top:38px; padding:19px 23px; width:100%; background:var(--green); color:#fff; text-decoration:none; display:flex; justify-content:space-between; font-weight:bold; }
.secure-note { color:#68756c; font-size:14px; }
.topbar { height:76px; background:var(--green-dark); color:#fff; display:flex; align-items:center; justify-content:space-between; padding:0 clamp(20px,5vw,70px); }
.wordmark { display:flex; align-items:center; gap:12px; color:#fff; text-decoration:none; font-family:Georgia,serif; letter-spacing:1px; }
.mark { width:38px; height:38px; border:1px solid #66b795; display:grid; place-items:center; font-size:24px; }
.wordmark small { font-size:8px; letter-spacing:1.5px; }
.user-area { display:flex; align-items:center; gap:20px; font-size:14px; }
.user-area a { color:#fff; }
.screen { min-height:calc(100vh - 76px); padding:clamp(42px,7vw,90px) clamp(20px,8vw,120px); background:radial-gradient(circle at 2px 2px,#d8ddd5 1.5px,transparent 1.6px) 0 0/30px 30px,#f8faf6; }
.screen-intro { max-width:760px; margin-bottom:45px; }
.screen-intro.compact { margin-bottom:32px; }
.screen-intro h1,.function-heading h1 { margin:0 0 12px; font-size:clamp(48px,7vw,78px); line-height:1; font-weight:400; letter-spacing:-3px; }
.screen-intro p:last-child { color:var(--muted); font-size:18px; }
.module-grid { display:grid; grid-template-columns:repeat(2,minmax(260px,470px)); gap:25px; }
.module-card { min-height:270px; padding:32px; border:1px solid #bdc9c0; background:#fff; color:var(--ink); text-align:left; cursor:pointer; display:flex; flex-direction:column; align-items:flex-start; box-shadow:10px 10px 0 #dce8d2; transition:.2s; }
.module-card:hover,.action-card:hover { transform:translateY(-4px); border-color:var(--green); box-shadow:10px 14px 0 #cfe0c9; }
.module-number { color:var(--green); font-family:Georgia,serif; letter-spacing:2px; }
.module-card strong { font-size:42px; font-weight:400; margin:36px 0 14px; }
.module-card>span:nth-of-type(2) { color:var(--muted); line-height:1.5; }
.module-card b { color:var(--green); margin-top:auto; padding-top:25px; }
.back-button { border:0; background:transparent; color:var(--green); padding:0; margin-bottom:35px; font-weight:bold; cursor:pointer; font-size:15px; }
.action-grid { display:grid; grid-template-columns:repeat(3,minmax(210px,1fr)); gap:18px; max-width:950px; }
.action-card { min-height:210px; padding:25px; border:1px solid #bdc9c0; background:#fff; color:var(--ink); text-align:left; cursor:pointer; display:flex; flex-direction:column; align-items:flex-start; transition:.2s; box-shadow:7px 7px 0 #dce8d2; }
.action-card>span { width:45px; height:45px; display:grid; place-items:center; background:#e0eee4; color:var(--green); font-size:25px; }
.action-card strong { margin-top:28px; font-size:19px; }
.action-card small { margin-top:8px; color:var(--muted); line-height:1.4; }
.function-heading { display:flex; align-items:flex-end; justify-content:space-between; max-width:1200px; margin-bottom:28px; }
.function-heading h1 { font-size:clamp(38px,5vw,60px); }
.function-screen .panel,#function-screen .panel { max-width:1200px; margin-bottom:24px; }
#function-screen.query-view { padding-left:clamp(20px,3vw,55px); padding-right:clamp(20px,3vw,55px); }
#function-screen.query-view .function-heading,#function-screen.query-view .panel { max-width:none; width:100%; }
.records-toolbar { display:flex; justify-content:space-between; align-items:center; margin-bottom:12px; }
.secondary,.row-action { border:1px solid var(--green); background:#fff; color:var(--green); padding:10px 14px; font-weight:bold; cursor:pointer; }
.row-action { padding:7px 10px; font-size:12px; }
.details-button { border:0; border-radius:4px; background:var(--green); color:#fff; padding:9px 12px; font-weight:bold; white-space:nowrap; cursor:pointer; }
.row-actions { display:flex; justify-content:flex-end; gap:7px; }
.pdf-button { border:1px solid var(--green); border-radius:7px; background:#fff; color:var(--green); padding:8px 11px; font-weight:700; white-space:nowrap; cursor:pointer; }
.pdf-button:hover { background:#edf6f2; }
.selected-row { background:#e6f2e9; }
.search-box { margin-bottom:24px; padding:20px; background:#f3f7f3; border:1px solid #dce4dc; }
.search-box label { display:block; margin-bottom:9px; font-size:14px; }
.search-box input { font-size:16px; padding:14px; }
.query-view .table-wrap { max-height:none; min-height:380px; }
.query-view table { font-size:12px; }
.query-view th,.query-view td { padding:14px 12px; }
.query-view table { table-layout:fixed; }
.query-view th:last-child,.query-view td:last-child { width:255px; text-align:right; }
.query-view th:first-child,.query-view td:first-child { width:145px; }
.query-view td { white-space:nowrap; }
.modal { position:fixed; inset:0; z-index:100; padding:30px; display:grid; place-items:center; background:#002c2980; backdrop-filter:blur(3px); }
.modal-card { width:min(1050px,100%); max-height:calc(100vh - 60px); overflow:auto; background:#fff; padding:32px; box-shadow:0 20px 70px #001d1a66; }
.modal-heading { display:flex; align-items:flex-start; justify-content:space-between; border-bottom:1px solid var(--line); padding-bottom:20px; margin-bottom:22px; }
.modal-heading h2 { margin:0; font-size:30px; font-weight:400; }
.modal-close { border:0; background:#eef3ed; width:42px; height:42px; font-size:27px; cursor:pointer; }
.details-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1px; background:var(--line); border:1px solid var(--line); }
.detail-field { min-height:78px; padding:15px 18px; background:#fff; display:flex; flex-direction:column; gap:7px; overflow-wrap:anywhere; }
.detail-field span { color:var(--muted); font-size:11px; font-weight:bold; text-transform:uppercase; letter-spacing:.6px; }
.detail-field strong { font-size:15px; font-weight:500; }
.inline-detail-row > td { padding:0!important; background:#f5f8fb; border-top:0; }
.inline-details { margin:0; padding:8px; border:1px solid #dbe4ee; border-top:0; grid-template-columns:repeat(3,minmax(0,1fr)); }
.inline-details .detail-field { min-height:46px; padding:7px 9px; gap:3px; }
.inline-details .detail-field span { font-size:9px; letter-spacing:.35px; }
.inline-details .detail-field strong { font-size:12px; line-height:1.2; }
.detail-attachments { grid-column:1/-1; display:flex; align-items:center; gap:10px; padding:10px; background:#fff; }
.detail-attachments .secondary { flex:none; }
.attachment-downloads { display:flex; flex-wrap:wrap; gap:7px; }
.attachment-download { border:1px solid #9fb2c4; border-radius:6px; background:#f4f8fb; color:#174a7e; padding:7px 10px; cursor:pointer; }
.attachment-download:disabled { opacity:.55; cursor:wait; }
@media print{.detail-attachments{display:none!important}}
.modal-actions { display:flex; justify-content:flex-end; gap:12px; margin-top:24px; }
.compact-button { width:auto; margin:0; min-width:110px; display:block; }
.modal-open { overflow:hidden; }
.edit-backdrop { position:fixed; inset:0; z-index:90; background:#102d2e80; backdrop-filter:blur(3px); }
.edit-modal-panel { position:fixed; z-index:95; inset:30px; width:min(1050px,calc(100% - 60px)); max-width:1050px!important; max-height:calc(100vh - 60px); margin:auto!important; overflow:auto; box-shadow:0 20px 70px #001d1a66; }
.edit-modal-heading { display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; border-bottom:1px solid var(--line); padding-bottom:14px; }
.edit-modal-heading .status { margin:0; font-weight:600; color:var(--ink); }
.sql-loading { position:fixed; inset:0; z-index:150; display:grid; place-items:center; padding:20px; background:#102d2e80; backdrop-filter:blur(3px); }
.sql-loading-card { min-width:min(420px,100%); display:flex; align-items:center; gap:18px; padding:24px 28px; border:1px solid #c9d8d1; border-radius:12px; background:#fff; box-shadow:0 20px 60px #102d2e4d; }
.sql-loading-card strong,.sql-loading-card small { display:block; }.sql-loading-card strong { font:600 17px "Space Grotesk"; }.sql-loading-card small { margin-top:5px; color:var(--muted); }
.spinner { width:38px; height:38px; flex:none; border:4px solid #dce9e4; border-top-color:var(--green); border-radius:50%; animation:spin .8s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }
.hero { padding:54px clamp(20px,7vw,100px) 42px; background:#fff; }
.hero h1 { margin:0; font-size:clamp(42px,6vw,72px); font-weight:400; letter-spacing:-2px; }
.hero>p:last-child { color:var(--muted); font-size:18px; }
.tabs { padding:0 clamp(20px,7vw,100px); display:flex; gap:4px; background:#fff; border-bottom:1px solid var(--line); }
.tab { padding:16px 30px; border:0; border-bottom:4px solid transparent; background:transparent; font-size:16px; cursor:pointer; color:var(--muted); }
.tab.active { border-color:var(--green); color:var(--green-dark); font-weight:bold; }
.workspace { padding:34px clamp(20px,5vw,70px) 60px; display:grid; grid-template-columns:minmax(320px, .8fr) minmax(440px, 1.2fr); gap:24px; max-width:1500px; margin:auto; }
.panel { background:#fff; border:1px solid var(--line); padding:28px; }
.panel-heading { display:flex; align-items:flex-start; justify-content:space-between; margin-bottom:24px; }
.panel h2 { margin:0; font-weight:400; font-size:28px; }
.fields { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.field { display:flex; flex-direction:column; gap:7px; }
.field.full { grid-column:1/-1; }
label { font-size:13px; font-weight:bold; color:#40514b; }
label .required { color:#ad3e34; }
input,select,textarea { width:100%; padding:12px; border:1px solid #bbc6bf; background:#fff; color:var(--ink); font:inherit; }
input:focus,select:focus,textarea:focus { outline:2px solid #7bc2a7; outline-offset:1px; }
.readonly-field { background:#eef2ed; color:#52615b; cursor:not-allowed; border-style:dashed; }
.attachment-field { padding:16px; border:1px dashed #a9bdb4; border-radius:8px; background:#f5f8f5; }
.attachment-field input { background:#fff; }.attachment-field small { color:var(--muted); line-height:1.4; }
textarea { min-height:85px; resize:vertical; }
.primary { width:100%; margin-top:25px; padding:15px 18px; border:0; background:var(--green); color:#fff; font-weight:bold; display:flex; justify-content:space-between; cursor:pointer; }
.primary:disabled { opacity:.55; cursor:wait; }
.icon-button { border:1px solid var(--line); background:#fff; width:38px; height:38px; cursor:pointer; font-size:20px; }
.table-wrap { overflow:auto; max-height:590px; }
table { width:100%; border-collapse:collapse; font-size:13px; }
th,td { padding:12px 10px; border-bottom:1px solid #e8ebe7; text-align:left; white-space:nowrap; max-width:260px; overflow:hidden; text-overflow:ellipsis; }
th { position:sticky; top:0; background:#f4f7f2; color:#506059; font-size:11px; letter-spacing:.5px; text-transform:uppercase; }
#function-screen:not(.query-view) #records-panel .table-wrap { overflow-x:hidden; }
#function-screen:not(.query-view) #records-panel table { table-layout:fixed; font-size:10px; }
#function-screen:not(.query-view) #records-panel th,#function-screen:not(.query-view) #records-panel td { padding:7px 5px; font-size:9px; }
#function-screen:not(.query-view) #records-panel th:first-child,#function-screen:not(.query-view) #records-panel td:first-child { width:82px; }
#function-screen:not(.query-view) #records-panel .row-action { padding:7px 9px; font-size:10px; }
.status { color:var(--muted); font-size:14px; padding:8px 0; }
.toast { position:fixed; right:24px; bottom:24px; max-width:400px; background:var(--green-dark); color:#fff; padding:16px 20px; box-shadow:0 8px 25px #0003; transform:translateY(150%); transition:.25s; }
.toast.show { transform:translateY(0); }.toast.error { background:#8f332b; }
@media(max-width:900px){.workspace{grid-template-columns:1fr}.login-card{min-height:auto}.login-content{padding:70px 8%}.login-content h1{font-size:56px}.brand-banner{height:135px}.anniversary{font-size:15px}.list-panel{min-width:0}}
@media(max-width:900px){.module-grid{grid-template-columns:1fr}.action-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.login-page{padding:0}.login-card{min-height:100vh;box-shadow:none;border-right:0}.brand-banner{height:110px}.anniversary{width:48%;font-size:12px}.login-content h1{font-size:46px}.fields{grid-template-columns:1fr}.field{grid-column:1}.user-area #user-name{display:none}.workspace{padding-inline:12px}.panel{padding:20px}.screen{padding:38px 16px}.action-grid{grid-template-columns:1fr 1fr}.action-card{min-height:180px;padding:18px}.action-card strong{font-size:16px}.module-card{min-height:230px}.function-heading{align-items:center}.modal{padding:10px}.modal-card{padding:20px;max-height:calc(100vh - 20px)}.details-grid{grid-template-columns:1fr}}
@media print{.topbar,.back-button,.function-heading .icon-button,.records-toolbar .secondary,.search-box,.toast,.details-button,.pdf-button{display:none!important}.screen{padding:0;background:#fff;min-height:auto}#form-panel{display:none!important}#records-panel{border:0;padding:0;max-width:none}.table-wrap{max-height:none;overflow:visible}table{font-size:10px}th{position:static}.modal{display:none!important}body.printing-details #application{display:none!important}body.printing-details .modal{display:block!important;position:static;padding:0;background:#fff}body.printing-details .modal-card{box-shadow:none;max-height:none;width:100%;padding:0}body.printing-details .modal-close,body.printing-details .modal-actions{display:none!important}}
@media print{
  @page{size:A4 portrait;margin:8mm}
  body.printing-details{background:#fff;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  body.printing-details .modal-card{overflow:visible!important;border:0;border-radius:0;font-family:Arial,Helvetica,sans-serif}
  body.printing-details .modal-heading{padding:10px 14px;margin:0 0 7px;background:#174a7e;border-left:5px solid #8fbd3e;color:#fff;align-items:center}
  body.printing-details .modal-heading .eyebrow{margin:0 0 3px;color:#dce9f5;font-size:8px;letter-spacing:1px}
  body.printing-details .modal-heading h2{margin:0;color:#fff;font-size:19px;line-height:1.15}
  body.printing-details .details-grid{min-height:238mm;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:4px;padding:4px;background:#eef2f6;border:1px solid #d5dde6;page-break-inside:avoid}
  body.printing-details .detail-field{min-height:0;padding:7px 9px;gap:3px;background:#fff;border-left:3px solid #d4e2ef;break-inside:avoid}
  body.printing-details .detail-field:nth-child(4n+1),body.printing-details .detail-field:nth-child(4n+2){background:#f8fafc}
  body.printing-details .detail-field span{color:#52708d;font-size:7.5px;font-weight:700;letter-spacing:.45px}
  body.printing-details .detail-field strong{color:#172b3d;font-size:10.5px;font-weight:600;line-height:1.22}
}
@media(max-width:680px){.edit-modal-panel{inset:10px;width:calc(100% - 20px);max-height:calc(100vh - 20px);padding:18px}}

/* Padrão visual compartilhado com Logística - Relatório de Tarefas */
:root { --ink:#172426; --muted:#788383; --line:#e5e9e6; --paper:#f8faf8; --white:#fff; --green:#236f62; --green-dark:#102d2e; --lime:#d7e760; }
body { background:var(--paper); color:var(--ink); font:14px "DM Sans",sans-serif; }
button,input,select,textarea { font:inherit; }
.loading { background:var(--paper); font-weight:600; }
.login-page { padding:clamp(20px,4vw,54px); background:radial-gradient(circle at 12% 18%,#dce9c9 0,transparent 34%),radial-gradient(circle at 88% 82%,#e6edd6 0,transparent 30%),linear-gradient(135deg,#eaf0e5,#f8f5ee); }
.login-card { position:relative; width:min(1100px,100%); min-height:0; overflow:hidden; padding:clamp(205px,24vw,245px) clamp(34px,8vw,108px) clamp(38px,6vw,78px); border:1px solid #c8d6ca; border-right:1px solid #c8d6ca; background:#fffffff0; box-shadow:22px 22px 0 #cad8c5; }
.access-denied { min-height:100vh; display:grid; place-items:center; padding:28px; background:linear-gradient(140deg,#e7eef5,#f7f9fb); }
.access-denied section { width:min(700px,100%); padding:46px; text-align:center; background:#fff; border-top:7px solid #cf2929; border-radius:10px; box-shadow:0 24px 70px #17304c2d; }
.access-denied img { display:block; width:238px; height:82px; margin:0 auto 24px; object-fit:cover; }
.denied-icon { display:grid; place-items:center; width:74px; height:74px; margin:0 auto 20px; color:#fff; background:#cf2929; border-radius:50%; font-size:46px; font-weight:700; }
.access-denied h1 { margin:12px 0 20px; color:#9b2424; font-size:40px; }.access-denied section>p { font-size:18px; line-height:1.55; }.denied-help { color:#687684; }.denied-logout { display:inline-flex; width:auto; margin-top:16px; }
.access-panel h2,.access-list-panel h2 { margin:0 0 20px; }
.access-form { display:grid; grid-template-columns:1.1fr 1.4fr .8fr auto; gap:14px; align-items:end; }
.access-form label { display:flex; flex-direction:column; gap:7px; color:var(--ink); font-size:13px; font-weight:700; }
.access-form input,.access-form select { min-height:44px; padding:10px 12px; border:1px solid #cbd5d1; background:#fff; font:inherit; }
.access-form .primary { min-height:44px; }
.access-list-panel { margin-top:20px; }
.access-profile { display:inline-flex; padding:5px 10px; border-radius:14px; font-weight:700; }.access-profile.admin { color:#6939b6; background:#eee5fb; }.access-profile.user { color:#176e42; background:#e0f3e9; }
.access-remove { padding:7px 11px; border:1px solid #e0a4a4; color:#9b2424; background:#fff3f3; cursor:pointer; }
@media(max-width:900px){.access-form{grid-template-columns:1fr 1fr}.access-denied section{padding:30px 22px}.access-denied h1{font-size:31px}}
@media(max-width:600px){.access-form{grid-template-columns:1fr}}
.login-card::before { content:""; position:absolute; inset:0 0 auto; width:100%; aspect-ratio:6/1; min-height:145px; background:#073f36 url('/login-hero.png') center/cover no-repeat; }
.login-card::after { content:""; position:absolute; top:0; right:0; width:6px; height:100%; background:linear-gradient(#32bf67 0 24%,#0e674f 24% 100%); }
.login-content { max-width:712px; padding:0; }
.login-content h1 { margin:0; font-size:clamp(42px,6vw,72px); font-weight:500; line-height:.98; letter-spacing:-2px; }
.login-title-detail { font-size:1em; letter-spacing:inherit; }
.login-content .eyebrow { margin-bottom:18px; font-family:inherit; letter-spacing:2px; }
.subtitle { max-width:650px; margin:26px 0 38px; color:#66736b; font-size:17px; line-height:1.55; }
.login-button { margin:0; padding:19px 24px; background:#0e674f; }
.secure-note { margin:18px 0 0; color:#718078; font-size:13px; }
.shell { display:flex; min-height:100vh; }
.side { width:260px; flex:none; padding:28px 16px 18px; display:flex; flex-direction:column; background:var(--green-dark); color:#e9f0ed; }
.brand { padding:0 8px 40px; }
.brand img { display:block; width:100%; max-width:220px; height:82px; object-fit:cover; object-position:center 48%; border-radius:8px; background:#fff; }
.side-nav { display:block; }
.side .nav { width:100%; display:flex; align-items:center; gap:9px; border:0; border-radius:7px; padding:11px 12px; margin:2px 0; background:transparent; color:#9db2ae; text-align:left; }
.side .nav:hover,.side .nav.active { background:#214849; color:#fff; }
.side .nav i { width:8px; height:8px; border-radius:50%; background:#68b9a8; }
.side .nav.entrega i { background:#e5b75d; }
.side-title { margin:38px 12px 10px; color:#72918c; font-size:10px; letter-spacing:1.4px; }
.side-bottom { margin-top:auto; }
.online { border-top:1px solid #294a4a; padding:20px 12px; display:flex; gap:9px; align-items:center; }
.online>i { width:7px; height:7px; border-radius:50%; background:#73c476; }
.online b,.online small,.side-user strong,.side-user small { display:block; font-size:11px; }
.online small,.side-user small { margin-top:3px; color:#8da4a1; }
.side-user { display:flex; align-items:center; gap:9px; padding:10px; border:1px solid #2b5150; border-radius:8px; background:#183a3b; }
.side-user>b { width:29px; height:29px; flex:none; display:grid; place-items:center; border-radius:50%; background:var(--lime); color:var(--green-dark); font-size:10px; }
.side-user span { min-width:0; }.side-user strong,.side-user small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.logout-link { display:block; margin-top:9px; padding:9px 11px; color:#9db2ae; font-size:11px; text-align:center; text-decoration:none; }
.logout-link:hover { color:#fff; }
.app-main { flex:1; min-width:0; }
.topbar { height:78px; padding:0 5%; border-bottom:1px solid var(--line); background:#fff; color:#9aa3a0; font-size:12px; }
.topbar b { color:var(--ink); }.breadcrumb-home { border:0; padding:0; background:transparent; color:#9aa3a0; }.breadcrumb-home:hover { color:var(--green); }
.header-account { display:flex; align-items:center; gap:12px; min-width:0; color:var(--ink); }
.header-account>strong { width:47px; height:47px; flex:none; display:grid; place-items:center; border-radius:50%; background:#102d4d; color:#fff; font:700 16px "Space Grotesk"; }
.header-account span,.header-account b,.header-account small { display:block; min-width:0; }.header-account small { max-width:260px; margin-top:2px; overflow:hidden; color:#637087; font-size:12px; text-overflow:ellipsis; white-space:nowrap; }
.screen { max-width:1440px; min-height:calc(100vh - 78px); margin:auto; padding:70px 5% 100px; background:var(--paper); }
.selection-screen,.screen:not(#function-screen) { display:flex; flex-direction:column; justify-content:center; }
.screen-intro { max-width:620px; margin-bottom:34px; }.screen-intro h1,.function-heading h1 { font:600 38px "Space Grotesk"; line-height:1.15; letter-spacing:-1px; }.screen-intro p:last-child { font-size:16px; }
.eyebrow { font-family:inherit; color:var(--green); font-size:11px; letter-spacing:1.4px; }
.module-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; max-width:900px; }
.module-card,.action-card { min-height:210px; padding:30px; display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:18px; border:1px solid var(--line); border-top:4px solid var(--green); border-radius:10px; background:#fff; color:var(--ink); box-shadow:0 12px 34px #102d2e0f; }
.module-card:nth-child(2) { border-top-color:#e5b75d; }.module-card:hover,.action-card:hover { transform:translateY(-4px); border-color:#b8d5ce; box-shadow:0 18px 42px #102d2e1f; }
.module-number,.action-card>span { width:52px; height:52px; display:grid; place-items:center; border-radius:13px; background:#e4f3ef; color:var(--green); font:700 18px "Space Grotesk"; }
.module-card:nth-child(2) .module-number { background:#fff3d9; color:#9a6b0b; }
.module-card strong { margin:0; font:600 20px "Space Grotesk"; }.module-card>span:nth-of-type(2) { color:var(--muted); font-size:12px; }.module-card b { margin:0; padding:0; }
.action-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; max-width:1100px; }.action-card { min-height:190px; padding:27px; }.action-card strong { margin:0; font:600 17px "Space Grotesk"; }.action-card small { margin:0; }.action-card>span { margin:0; }
.back-button { margin-bottom:28px; color:var(--green); }
.panel { border:1px solid var(--line); border-radius:10px; box-shadow:0 12px 34px #102d2e0f; }
input,select,textarea { border:1px solid #d7dfda; border-radius:7px; }.primary { border-radius:7px; background:var(--green); }.secondary,.row-action { border-radius:7px; }
.search-box { border-radius:8px; }.details-button { border-radius:7px; }.modal-card { border-radius:12px; }.detail-field { min-height:78px; }
@media(max-width:900px){.side{width:210px}.module-grid,.action-grid{grid-template-columns:1fr}.module-card,.action-card{min-height:150px}.header-account span{display:none}}
@media(max-width:680px){.shell{display:block}.side{width:100%;padding:12px 14px;display:block}.brand{display:none}.side-nav{display:flex;gap:5px}.side .nav{width:auto;flex:1;justify-content:center}.side-title,.side-bottom{display:none}.topbar{height:64px}.screen{min-height:calc(100vh - 116px);padding:38px 18px}.login-card{padding:135px 25px 36px;box-shadow:10px 10px 0 #cad8c5}.login-card::before{min-height:105px}}
