@charset "UTF-8";
:root{--navy:#17293b;--navy2:#243c53;--ink:#20364a;--muted:#6d7b88;--line:#e7ebee;--bg:#f5f7f8;--orange:#eb7b35;--orange-dark:#bf5720;--orange-soft:#fff1e7;--green:#23765c;--green-soft:#eaf6ef;--red:#b84040;--red-soft:#fff0ef;--blue-soft:#eef4fb;--shadow:0 10px 36px #1b324908;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.55}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #eaa77c;outline-offset:2px}a{color:#315f83;text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3,p{margin:0}h1{font-size:28px;font-weight:650;letter-spacing:-.7px}h2{font-size:21px;font-weight:650}h3{font-size:16px;font-weight:650}small,.small{font-size:12px}.app-shell{display:flex;min-height:100vh}.sidebar{width:232px;min-height:100vh;background:var(--navy);color:#f6f8fa;display:flex;flex-direction:column;padding:34px 20px 24px;position:fixed;inset:0 auto 0 0}.brand{display:flex;gap:12px;align-items:center;color:white;font-size:22px;line-height:1.25;padding:0 10px 38px;font-weight:650}.brand:hover{text-decoration:none}.brand-mark{display:flex;width:40px;height:43px;border-radius:12px;align-items:center;justify-content:center;background:var(--orange);color:white;font-size:23px;font-weight:700}.brand-caption{display:block;font-size:10px;color:#c3cdd5;letter-spacing:1.2px;margin-top:6px;font-weight:500}.workspace-label{font-size:11px;color:#8da0b2;padding:0 15px 12px;letter-spacing:1px}nav{display:grid;gap:6px}nav a{padding:13px 15px;color:#b8c6d3;border-radius:9px;display:flex;gap:13px;align-items:center;font-size:14px}nav a:hover{background:#ffffff08;text-decoration:none;color:white}nav a.active{color:#fff;background:var(--navy2);box-shadow:inset 3px 0 var(--orange)}.nav-symbol{font-size:19px;width:22px;text-align:center;color:#92a9bd}nav a.active .nav-symbol{color:#ffa76d}.sidebar-foot{margin-top:auto;padding:34px 12px 0;font-size:12px;color:#dae2e9}.sidebar-foot>div{font-size:11px;color:#8399aa;margin-top:9px;line-height:1.8}.local-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#8dccaa;margin-right:5px}.workspace{margin-left:232px;min-width:0;width:calc(100% - 232px)}.topbar{height:91px;background:#fff;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 38px}.eyebrow{font-size:11px;color:var(--muted);letter-spacing:1px;display:block;margin-bottom:5px}.topbar-title{font-size:13px}.topbar-tools{display:flex;gap:12px;align-items:center}.topbar select{min-width:170px;max-width:260px}#main{padding:36px 38px;min-height:calc(100vh - 150px)}.page-heading{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:26px}.page-heading p{color:var(--muted);margin-top:9px;font-size:13px;max-width:740px}.heading-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.button{border:1px solid #dfe5e9;border-radius:8px;padding:9px 15px;background:#fff;color:var(--ink);font-size:13px;white-space:nowrap;min-height:38px;transition:background .15s}.button:hover:not(:disabled){background:#f6f8fa}.button.primary{background:var(--orange);border-color:var(--orange);color:white;font-weight:600}.button.primary:hover:not(:disabled){background:var(--orange-dark);border-color:var(--orange-dark)}.button.dark{background:var(--navy);color:white;border-color:var(--navy)}.button.danger{color:var(--red);border-color:#f0cccc}.button.subtle{background:transparent}.button.small{font-size:12px;padding:6px 10px;min-height:30px}.icon-button{border:0;background:transparent;font-size:26px;line-height:1;width:36px;height:36px;border-radius:8px;color:var(--muted)}.icon-button:hover{background:var(--bg)}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:24px}.stat{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px 22px;box-shadow:var(--shadow)}.stat-label{font-size:12px;color:var(--muted)}.stat-value{font-size:28px;font-weight:650;margin:8px 0 2px;font-variant-numeric:tabular-nums}.stat-note{font-size:11px;color:var(--muted)}.stat.accent{background:var(--navy);color:#fff;border-color:var(--navy)}.stat.accent .stat-label,.stat.accent .stat-note{color:#c3cfda}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);overflow:hidden;margin-bottom:22px}.panel-header{padding:21px 24px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:18px}.panel-body{padding:24px}.toolbar{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:17px 22px;border-bottom:1px solid var(--line);flex-wrap:wrap}.toolbar-group{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.toolbar input[type=search]{width:250px}.toolbar select{max-width:190px}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px;white-space:normal}th{background:#fbfcfd;color:#7b8792;font-size:11px;font-weight:500;text-align:left;padding:14px 17px;border-bottom:1px solid var(--line);white-space:nowrap}td{padding:18px 17px;border-bottom:1px solid #edf0f2;vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fcfdfe}td.numeric,th.numeric{text-align:right;font-variant-numeric:tabular-nums}td.select-col,th.select-col{width:42px;padding-left:23px;padding-right:4px}td.actions{min-width:115px}.row-actions{display:flex;flex-wrap:wrap;gap:6px}.product-title{font-weight:550;min-width:180px;max-width:410px;overflow-wrap:anywhere;display:block}.subline{color:var(--muted);font-size:11px;margin-top:5px;overflow-wrap:anywhere;max-width:430px}.mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;overflow-wrap:anywhere}.muted{color:var(--muted)}.tag{display:inline-block;padding:4px 8px;border-radius:5px;font-size:11px;background:#f0f3f5;color:#627380;white-space:nowrap}.tag.green{background:var(--green-soft);color:var(--green)}.tag.orange{background:var(--orange-soft);color:#a95c27}.tag.red{background:var(--red-soft);color:var(--red)}.tag.blue{background:var(--blue-soft);color:#3f6c94}.notice{margin:18px 38px 0;padding:12px 16px;border-radius:8px;background:var(--blue-soft);color:#345f84;border:1px solid #dbe7f2;font-size:13px;overflow-wrap:anywhere}.notice.error{background:var(--red-soft);color:var(--red);border-color:#f3d5d2}.notice.success{background:var(--green-soft);color:var(--green);border-color:#d5e9dc}.callout{background:#fbf5ec;border:1px solid #f2e4d0;color:#8b683e;font-size:12px;padding:13px 16px;border-radius:8px;margin-bottom:20px;line-height:1.8}.callout.info{background:#f0f5fa;border-color:#dfe9f3;color:#476780}.callout p+p{margin-top:6px}.empty{text-align:center;padding:64px 24px;color:var(--muted)}.empty-icon{width:55px;height:55px;margin:0 auto 16px;border-radius:15px;background:var(--orange-soft);display:flex;align-items:center;justify-content:center;color:var(--orange);font-size:26px}.empty h3{color:var(--ink);margin-bottom:10px}.empty p{max-width:520px;margin:auto;font-size:13px}.empty .button{margin-top:20px}.table-footer{padding:14px 23px;border-top:1px solid var(--line);display:flex;gap:12px;align-items:center;justify-content:space-between;color:var(--muted);font-size:12px}.pager{display:flex;align-items:center;gap:10px}.workspace-foot{font-size:11px;color:#95a0a9;padding:0 38px 24px}.loading{padding:80px;text-align:center;color:var(--muted)}input,select,textarea{border:1px solid #dce2e7;border-radius:7px;background:#fff;color:var(--ink);padding:9px 11px;min-height:39px;max-width:100%;font-size:13px}input[type=checkbox]{min-height:0;width:15px;height:15px;accent-color:var(--orange);margin:0;vertical-align:middle}textarea{resize:vertical;width:100%;line-height:1.65}input:disabled,select:disabled,textarea:disabled{background:#f6f7f8;color:#8997a2}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field>label,.field-label{font-size:12px;font-weight:550}.field small{font-size:11px;color:var(--muted)}.field.full{grid-column:1/-1}.field input,.field select{width:100%}.check-label{display:flex;gap:9px;align-items:center;font-size:13px;font-weight:400}.field-toggle{display:flex;align-items:center;gap:8px}.inline-fields{display:flex;gap:10px}.inline-fields>*{flex:1;min-width:0}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px;padding-top:19px;border-top:1px solid var(--line);align-items:center}.form-actions .spacer{flex:1}.form-section{margin-top:24px;padding-top:22px;border-top:1px solid var(--line)}.form-section h3{margin-bottom:15px}.form-note{font-size:12px;color:var(--muted);line-height:1.8}.section-label{margin:25px 0 12px;font-weight:600;font-size:13px}.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:22px}.detail-list{display:grid;grid-template-columns:minmax(100px,1fr) 2fr;gap:10px;font-size:13px}.detail-list dt{color:var(--muted)}.detail-list dd{margin:0;overflow-wrap:anywhere}.batch-card{padding:24px;border-bottom:1px solid var(--line)}.batch-card:last-child{border-bottom:0}.batch-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:15px}.batch-title{font-weight:600;font-size:15px}.batch-card table{font-size:12px}.batch-card td,.batch-card th{padding:12px 13px}.batch-card .toolbar-group{margin-top:16px}.batch-card details{margin-top:15px}.preview-table th,.preview-table td{font-size:12px;padding:12px}.preview-table td{overflow-wrap:anywhere;max-width:250px}.preview-after{color:var(--green);font-weight:550}.read-only{background:#f6f8fa;border-radius:8px;padding:13px 15px;overflow-wrap:anywhere;font-size:13px}.line-editor{margin-top:15px}.line-row{display:grid;grid-template-columns:minmax(160px,2fr) 90px 120px 36px;gap:10px;margin:10px 0;align-items:center}.line-row.receipt{grid-template-columns:minmax(160px,2fr) 100px 100px 120px}.line-row label{font-size:11px;color:var(--muted)}.line-row .field{gap:4px}.line-row input,.line-row select{width:100%}.receipt-name{font-size:13px}.stack{display:grid;gap:12px}.issues{padding-left:20px;font-size:12px;color:#8e593d;line-height:1.8;max-height:240px;overflow:auto}.raw-json{font-size:11px;line-height:1.65;white-space:pre-wrap;word-break:break-word;background:#f6f8fa;padding:14px;border-radius:7px;max-height:280px;overflow:auto}.divider{border:0;border-top:1px solid var(--line);margin:20px 0}.step-label{font-size:11px;letter-spacing:1px;color:var(--orange-dark);margin-bottom:10px}details{font-size:12px}summary{cursor:pointer;color:#48667d;padding:5px 0}details[open]>summary{margin-bottom:12px}dialog{border:0;border-radius:15px;padding:0;max-width:min(860px,calc(100vw - 36px));width:860px;max-height:90vh;color:var(--ink);box-shadow:0 28px 90px #10213744;overflow:auto}dialog::backdrop{background:#17293b66;backdrop-filter:blur(2px)}.dialog-header{display:flex;justify-content:space-between;gap:20px;padding:24px 28px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:1}.dialog-body{padding:25px 28px}.dialog-body .panel{box-shadow:none}.dialog-body .notice{margin:0 0 18px}#dialogError{margin:0 28px 22px}dialog.wide{width:1050px;max-width:min(1050px,calc(100vw - 36px))}.badge-count{background:var(--orange-soft);color:var(--orange-dark);font-size:11px;border-radius:20px;padding:2px 7px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}
@media(max-width:1150px){.sidebar{width:198px;padding-left:14px;padding-right:14px}.workspace{margin-left:198px;width:calc(100% - 198px)}#main{padding:28px 25px}.topbar{padding:19px 25px}.notice{margin-left:25px;margin-right:25px}.stats{gap:10px}.stat{padding:16px}.page-heading{align-items:flex-start}.two-columns{grid-template-columns:1fr}.toolbar input[type=search]{width:210px}}
@media(max-width:760px){.app-shell{display:block}.sidebar{position:relative;inset:auto;width:100%;min-height:auto;padding:18px 16px 12px}.brand{padding:0 0 17px;font-size:19px}.brand-mark{width:34px;height:36px}.workspace-label,.sidebar-foot{display:none}nav{display:flex;overflow:auto;gap:4px}nav a{padding:10px;font-size:12px;white-space:nowrap}nav .nav-symbol{display:none}.workspace{margin:0;width:100%}.topbar{height:auto;padding:14px 18px;flex-wrap:wrap}.topbar-title{display:none}.topbar>.topbar-tools{flex:1;justify-content:flex-end}.topbar select{min-width:140px;max-width:180px}#main{padding:23px 16px}.page-heading{flex-direction:column;gap:15px}.page-heading h1{font-size:24px}.stats{grid-template-columns:1fr 1fr}.stat-value{font-size:23px}.toolbar{padding:14px;align-items:flex-start}.toolbar input[type=search]{width:100%}.toolbar-group{max-width:100%}.toolbar-group.search-group{width:100%}.toolbar-group.search-group input{flex:1;min-width:120px}th,td{padding:13px 12px}td.select-col,th.select-col{padding-left:13px}.notice{margin:14px 16px 0}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.dialog-header,.dialog-body{padding:20px}.line-row{grid-template-columns:minmax(120px,1fr) 65px 85px 28px;gap:6px}.line-row.receipt{grid-template-columns:minmax(100px,1fr) 60px 60px 75px}.line-row input,.line-row select{padding:8px 6px}.batch-head{flex-direction:column}.batch-card{padding:18px}.workspace-foot{padding:0 16px 20px}.panel-body{padding:18px}}

/* Shared workspace identity and conflict notices. */
.topbar{height:auto;min-height:91px;flex-wrap:wrap}.topbar>div:first-child{min-width:220px}.topbar-tools{flex-wrap:wrap;justify-content:flex-end}.account-label{font-size:12px;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.signout-link{font-size:12px;color:var(--muted)}.sync-time{display:block;font-size:11px;color:var(--muted);margin-top:3px}.sync-banner{margin:18px 38px 0;padding:13px 16px;border:1px solid #e4cba8;background:#fff8ed;color:#815927;border-radius:8px;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:12px;line-height:1.8}.sync-banner .button{flex:none}.guide{max-width:880px;margin:40px auto;padding:32px;background:#fff;border:1px solid var(--line);border-radius:12px}.guide h1{margin-bottom:12px}.guide h2{font-size:19px;margin:28px 0 12px}.guide p{margin:10px 0}.guide li{margin:8px 0}.guide a{font-weight:550}.guide .eyebrow{color:var(--orange-dark)}
@media(max-width:760px){.topbar>div:first-child{min-width:0}.topbar-title{display:block;font-size:12px}.topbar-tools{width:100%;justify-content:flex-start}.account-label{max-width:150px}.sync-banner{margin:14px 16px 0;align-items:flex-start;flex-direction:column;gap:10px}.guide{margin:16px;padding:22px}.topbar select{min-width:120px;max-width:160px}}

.dialog-sync-banner{margin:18px 28px 0;padding:12px 15px;border-radius:8px;background:#fff8ed;border:1px solid #e4cba8;color:#815927;font-size:12px;line-height:1.8;display:flex;gap:12px;align-items:center;justify-content:space-between}.dialog-sync-banner .button{flex:none}@media(max-width:760px){.dialog-sync-banner{margin:15px 20px 0;flex-direction:column;align-items:flex-start}}

/* Independent platform reads never merge with manual business forms. */
.noon-connections{padding:22px}.noon-store-card{border:1px solid var(--line);border-radius:11px;padding:20px;margin-top:18px}.noon-store-card>.row-actions{margin:13px 0}.noon-sync-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}.noon-kind-card{padding:17px;background:#f8fafc;border:1px solid var(--line);border-radius:9px}.noon-kind-card h4{font-size:15px;margin:0 0 12px}.noon-kind-card .form-note{font-size:12px;line-height:1.8;margin:9px 0}.noon-kind-card .row-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:15px}.noon-run-summary{margin:12px 0}.noon-run-summary .callout{overflow-wrap:anywhere}.noon-store-card .batch-head{gap:14px}.noon-kind-card .button{white-space:normal}.dialog-body details>.field{margin-top:14px}@media(max-width:1150px){.noon-sync-grid{grid-template-columns:1fr}.noon-kind-card .row-actions{margin-top:12px}}@media(max-width:760px){.noon-connections{padding:16px}.noon-store-card{padding:16px}}

.api-bind-button{min-width:106px;font-weight:650}.noon-store-card,#noonConnections{scroll-margin-top:24px}.noon-store-card:focus{outline:2px solid var(--orange);outline-offset:4px}

/* Independent username/password access. */
.auth-mode .sidebar,.auth-mode .topbar,.auth-mode .workspace-foot{display:none}.auth-mode .workspace{margin:0;width:100%}.auth-mode #main{min-height:100vh;display:grid;place-items:center;padding:38px 20px}.auth-card{width:min(100%,480px);padding:38px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 20px 80px #17293b0b}.auth-brand{background:var(--orange);color:#fff;border-radius:12px;font-size:26px;font-weight:700;width:48px;height:48px;display:grid;place-items:center;margin-bottom:24px}.auth-card h1{font-size:25px;margin:12px 0}.auth-card .form-note{margin-bottom:22px}.auth-card form{display:grid;gap:17px}.auth-card .button.primary{width:100%;margin-top:4px}.auth-card .callout{margin-top:16px}.auth-error{color:var(--red);font-size:13px;white-space:pre-wrap}.auth-error:empty{display:none}.auth-foot{font-size:11px;color:var(--muted);margin-top:24px;line-height:1.8}.auth-card .field label{font-size:13px}.auth-card .field input{min-height:43px}@media(max-width:760px){.auth-card{padding:26px}.auth-card h1{font-size:23px}}
