/* NOMA 2026.11.15-ui.1: readable, responsive presentation over the existing application. */
:root{--noma-forest:#143d2a;--noma-lime:#c4ed72;--noma-paper:#f5f7f3}

.app-shell{grid-template-columns:244px minmax(0,1fr)}.app-shell .main{margin-left:0}.hero p{color:#425b46}.hero .eyebrow{color:#37652c}
body{font-family:'Segoe UI',system-ui,sans-serif;font-size:15px;line-height:1.55}
button,input,select,textarea{font:inherit}button,input,select{min-height:44px}button{cursor:pointer}button:disabled{cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #527f16;outline-offset:3px}
.tiny,.foot,.metric .label,.badge,.nav-label,.sync-indicator{font-size:13px}.muted{color:var(--muted,#53635a)}
.onboarding{min-height:100dvh;display:grid;grid-template-columns:minmax(360px,44%) minmax(0,1fr);background:var(--noma-paper)}
.welcome{background:var(--noma-forest);color:#fff;padding:36px clamp(28px,4vw,72px);display:flex;flex-direction:column;justify-content:space-between;gap:24px;min-height:100dvh;position:relative;overflow:hidden}
.brand{display:flex;align-items:center;gap:12px;font-weight:750;font-size:26px;letter-spacing:.04em;color:inherit}.noma-mark{display:inline-grid;place-items:center;border-radius:12px;width:40px;height:40px;background:var(--noma-lime);color:#153c28;font-size:23px;letter-spacing:0;flex-shrink:0}
.welcome-copy{max-width:500px}.welcome-copy h2{font-size:clamp(30px,3vw,45px);line-height:1.15;letter-spacing:-1.4px;color:#fff;margin:16px 0}.welcome-copy>p{font-size:16px;color:#e1eddf;max-width:390px}.entry-kicker{font-size:12px;line-height:1.5;font-weight:750;letter-spacing:.12em;color:#37652c}.welcome .entry-kicker{color:var(--noma-lime)}
.welcome-robot{display:flex;justify-content:center;margin:12px 0}.noma-robot{object-fit:contain;flex-shrink:0}.noma-robot.robot-welcome{padding:0;background:none;width:min(290px,100%);height:290px;min-height:0;display:block;overflow:visible}.robot-caption{text-align:center;display:grid;gap:3px}.robot-caption strong{font-size:17px}.robot-caption span,.welcome-footer{font-size:13px;color:#d0dfcd}.welcome-footer{padding-top:18px;border-top:1px solid #ffffff26}
.setup-area{display:flex;justify-content:center;align-items:center;padding:70px clamp(24px,5vw,90px);min-width:0;background:#f7f9f5}.setup-inner{width:100%;max-width:510px;padding:0}.setup-inner h1{font-size:clamp(28px,3vw,40px);line-height:1.15;letter-spacing:-1px;color:#183323;margin:14px 0}.setup-inner>p{color:#53635a;margin:16px 0 28px}.entry-subtitle{font-size:16px}.entry-choices{display:grid;gap:14px;margin:28px 0}.entry-choice{display:flex;align-items:center;gap:16px;padding:20px;text-align:left;background:#fff;border:1px solid #d6e0d1;border-radius:16px;box-shadow:0 3px 10px #18332305;color:#183323;width:100%;min-height:92px}.entry-choice:hover{border-color:#397048;background:#f0f6e9}.entry-choice>span:nth-child(2){flex:1;min-width:0;display:grid;gap:5px}.entry-choice strong{font-size:16px}.entry-choice small{font-size:14px;color:#53635a}.entry-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#edf4e6;color:#215d36}.entry-create{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:14px;margin:24px 0}.entry-create button{border:0;background:none;color:#245c32;font-weight:700;text-decoration:underline;padding:0}.entry-security{border-top:1px solid #dce4d7;padding-top:18px;font-size:13px!important}.auth-step{font-size:13px;font-weight:700;color:#37652c}.password-wrap{position:relative}.password-wrap input{width:100%;padding-right:88px}.password-toggle{position:absolute;right:4px;top:4px;min-height:36px;height:36px;font-size:13px;padding:0 10px;border:0;background:#edf4e6;color:#23482b}.setup-inner form{gap:16px}.setup-inner label{font-size:14px;font-weight:600}.setup-inner input,.setup-inner select,.setup-inner textarea{border-radius:10px;min-height:48px}.setup-inner .primary{background:#215b34;color:#fff;border-color:#215b34;border-radius:10px;min-height:48px}.auth-language{top:16px;right:20px}
.app-shell{background:var(--noma-paper)}.sidebar{background:#172d21;color:#f1f6ec;width:244px;padding:22px 14px}.sidebar .brand{padding:0 12px 24px}.sidebar .brand .noma-mark{width:34px;height:34px;font-size:20px;border-radius:10px}.sidebar nav{overflow-y:auto;flex:1;min-height:0}.design-nav-group{margin:0 0 17px}.design-nav-group h2{font-size:11px;letter-spacing:.09em;text-transform:uppercase;font-weight:650;color:#b8cdb0;padding:0 14px;margin:18px 0 6px}.design-nav-group button{display:flex;align-items:center;gap:11px;width:100%;text-align:left;min-height:44px;padding:10px 12px;border-radius:9px;border:0;background:none;color:#e5eddf;font-size:14px;line-height:1.3;margin:2px 0}.design-nav-group button.active{background:#2c6039;color:#fff;font-weight:650}.design-nav-group button:hover{background:#ffffff14}.design-nav-group button.active:hover{background:#356f43}.nav-icon{display:grid;place-items:center;width:21px;flex-shrink:0}.sidebar .profile{font-size:14px;border-top:1px solid #ffffff23}.sidebar .profile small{font-size:13px;color:#c5d7bd}.sidebar .ghost{color:#e5eddf}
.main{margin-left:244px;min-width:0}.topbar{background:var(--surface,#fff);min-height:76px;gap:12px;border-bottom:1px solid var(--line,#dce5da);padding:15px 28px}.org-select select{font-size:15px;max-width:360px}.design-role{font-size:12px;font-weight:600;background:#edf4e6;color:#285037;border:1px solid #dce7d5;border-radius:20px;padding:5px 10px}.content{padding:28px clamp(18px,2.2vw,36px) 100px;max-width:1700px;margin:0 auto}.page-head h1{font-size:28px;line-height:1.2;letter-spacing:-.6px}.page-head p{font-size:14px}.design-date{font-size:13px!important;text-transform:capitalize}.card,.metric,.product-card{border-radius:14px;box-shadow:0 2px 8px #18332305;border:1px solid var(--line,#dce5da)}.metric-grid{gap:16px}.metric .value{font-size:clamp(23px,2vw,30px);line-height:1.25;overflow-wrap:anywhere}.metric .label{line-height:1.4}.metric .foot{font-size:13px}.hero{border-radius:16px;padding:24px;background:#eaf3df;color:#173b25}.hero h2{font-size:24px}.hero p{max-width:760px}.quick{gap:12px}.quick button{border-radius:12px;min-height:68px}.table-wrap{max-width:100%;overflow-x:auto}th{font-size:12px;letter-spacing:.03em}td{font-size:14px;padding-top:15px;padding-bottom:15px}.badge{white-space:normal}.page-head{gap:16px;flex-wrap:wrap}.modal-head h2{font-size:23px}dialog{max-height:90dvh;overflow-y:auto}.invoice-line{border-radius:12px}.invoice-total{border:1px solid var(--line);box-shadow:0 -2px 12px #1833230a}.assistant-bubble{position:fixed;bottom:22px;right:24px;z-index:35;display:flex;align-items:center;gap:4px;background:#183e29;color:#fff;border:1px solid #406d42;border-radius:32px;padding:0 16px 0 2px;min-height:60px;box-shadow:0 5px 20px #173b2525}.assistant-bubble .noma-robot{width:58px;height:58px}.assistant-bubble span{font-weight:650;font-size:14px}.assistant-welcome{display:flex;gap:24px;align-items:center;padding:24px 28px;background:#eaf3df;border:1px solid #d5e5c7;border-radius:16px;margin-bottom:24px;color:#173b25}.assistant-welcome .noma-robot{width:112px;height:112px}.assistant-welcome h1{font-size:30px;margin:8px 0;line-height:1.2}.assistant-welcome p{font-size:15px;margin:6px 0}.assistant-mode{display:inline-block;margin-top:10px;font-size:13px;padding:5px 10px;background:#fff;border-radius:20px;border:1px solid #cdddc3}.assistant-detail-heading h1{font-size:21px}.chat-message{font-size:15px;line-height:1.65;border-radius:14px}.chat-input{gap:10px}.chat-input input{min-width:0;font-size:16px;min-height:48px}.chat-input button{min-height:48px}.assistant-welcome~.card button{min-height:44px}
html.dark .setup-area{background:#18251d}html.dark .setup-inner h1,html.dark .setup-inner>p{color:#edf5e8}html.dark .entry-choice{background:#223b2b;color:#eef5e8;border-color:#45604c}html.dark .entry-choice small{color:#ccdbc5}html.dark .app-shell{background:var(--bg,#15231a)}html.dark .hero,html.dark .assistant-welcome{background:#24442e;color:#eef7e8}html.dark .assistant-mode{background:#153521;color:#edf5e8}
@media(min-width:761px) and (max-width:1100px){.sidebar{width:218px}.main{margin-left:218px}.topbar{padding:12px 18px}.content{padding:22px 18px 100px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dash-grid{grid-template-columns:1fr}}
@media(max-width:760px){.onboarding{display:flex;flex-direction:column}.welcome{min-height:0;padding:24px;gap:12px}.welcome .brand{font-size:22px;padding:0}.welcome-copy{position:relative;padding-right:100px}.welcome-copy h2{font-size:26px;letter-spacing:-.6px}.welcome-copy>p{font-size:14px;margin:10px 0}.welcome-copy .entry-kicker,.robot-caption,.welcome-footer{display:none}.welcome-robot{position:absolute;right:-6px;top:0;margin:0}.noma-robot.robot-welcome{width:110px;height:140px}.setup-area{padding:28px 20px 48px;display:block}.setup-inner{max-width:520px;margin:auto}.setup-inner h1{font-size:30px}.entry-choice{padding:16px;gap:12px}.entry-choice strong{font-size:15px}.entry-choice small{font-size:13px}.auth-language{position:absolute;top:18px;right:18px}.auth-language select{min-height:36px}.sidebar{width:260px}.main{margin-left:0;padding-bottom:90px}.topbar{padding:10px 14px;gap:8px}.org-select select{max-width:calc(100vw - 110px);min-height:40px;font-size:14px}.topbar .top-actions{width:100%;display:flex;gap:8px}.top-actions button{flex:1;font-size:13px}.design-role{display:none}.content{padding:22px 14px 105px}.page-head h1{font-size:25px}.design-dashboard-head .primary{width:100%}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.metric{padding:15px 12px}.metric .label{font-size:12px}.metric .value{font-size:21px;margin:8px 0}.metric .foot{font-size:12px}.hero{padding:18px;display:block}.hero h2{font-size:21px}.hero button{margin-top:12px;width:100%}.quick{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.quick button{font-size:14px}.dash-grid{grid-template-columns:1fr}.card{padding:18px 14px}.assistant-bubble{right:16px;bottom:92px;min-height:52px;padding-right:12px}.assistant-bubble .noma-robot{width:48px;height:48px}.assistant-bubble span{font-size:13px}.assistant-welcome{gap:12px;padding:18px 14px}.assistant-welcome .noma-robot{width:72px;height:90px}.assistant-welcome h1{font-size:23px}.assistant-welcome p{font-size:14px}.assistant-welcome .entry-kicker{font-size:10px}.assistant-mode{font-size:12px}.chat-input{position:sticky;bottom:82px;background:var(--surface,#fff);padding:10px;border:1px solid var(--line);border-radius:14px}.chat-input button{font-size:14px;padding:8px 12px}.chat-layout{max-width:100%;min-width:0}.chips button{white-space:normal;text-align:left;min-height:44px}dialog{width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px);padding:18px 14px;max-height:90dvh}dialog input,dialog select,dialog textarea{font-size:16px}.grid{min-width:0}.table-wrap table{min-width:560px}.mobile-dock span{font-size:12px}.mobile-dock button{min-height:52px}.invoice-line{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px}.invoice-line input{min-width:0;width:100%}.invoice-total{font-size:15px}.row.wrap{row-gap:10px}}
@media(max-width:360px){.metric-grid{grid-template-columns:1fr}.welcome-copy{padding-right:75px}.noma-robot.robot-welcome{width:85px}.entry-choice{gap:8px;padding:14px}.entry-icon{width:36px;height:36px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.assistant-bubble,.assistant-welcome,.design-role{display:none!important}.main{margin:0}.content{padding:0}.sidebar{display:none!important}}

.password-toggle{display:grid;place-items:center;cursor:pointer;min-height:40px;height:40px;top:4px;border-radius:7px}.password-toggle:focus-visible{outline:3px solid #527f16;outline-offset:2px}

.password-toggle{display:grid;place-items:center;cursor:pointer;min-height:40px;height:40px;top:4px;border-radius:7px}.password-toggle:focus-visible{outline:3px solid #527f16;outline-offset:2px}
@media(max-width:760px){.app-shell{grid-template-columns:minmax(0,1fr)}.topbar{flex-wrap:wrap}.main{min-width:0}}
