#northstar-app{--navy:#102f49;--gold:#d6a35f;--cream:#f7f5f0;--ink:#252a30;--muted:#596b7c;--line:#e3ddd2;--wait-bg:#f8eddd;--wait-ink:#795020;--done:#28734f;--done-bg:#e7f2eb;--done-ink:#245c40;--info-bg:#edf0f3;--info-ink:#475a6c;--declined:#a5392c;--declined-bg:#f9e9e6;--declined-ink:#8c2f23;font:14px/1.55 Inter,Arial,sans-serif;color:var(--ink);background:var(--cream);min-height:100vh;color-scheme:light}#northstar-app *{box-sizing:border-box}#northstar-app h1,#northstar-app h2,#northstar-app h3,#northstar-app p{margin:0}#northstar-app h1{font-size:28px;line-height:1.25;font-weight:500;margin-bottom:7px}#northstar-app h2{font-size:19px;line-height:1.35;font-weight:500;margin-bottom:10px}#northstar-app h3{font-size:15px;font-weight:500;margin-bottom:6px}#northstar-app button,#northstar-app input,#northstar-app select,#northstar-app textarea{font:inherit}#northstar-app button,#northstar-app a,#northstar-app summary{touch-action:manipulation}#northstar-app button,#northstar-app summary{cursor:pointer}#northstar-app a{color:var(--navy);text-underline-offset:3px}#northstar-app .muted,#northstar-app .help{color:var(--muted)}#northstar-app .help{font-size:12px;margin-top:4px}#northstar-app .demo-bar{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;padding:9px 24px;color:#5e4e35;background:#eee5d7;font-size:12px}#northstar-app .app-shell{display:grid;grid-template-columns:210px minmax(0,1fr);min-height:calc(100vh - 40px)}#northstar-app .sidebar{padding:28px 18px;background:var(--navy);color:#fff;display:flex;flex-direction:column;gap:9px;min-width:0}#northstar-app .logo{width:166px;height:auto;display:block}#northstar-app .portal-label{color:var(--gold);letter-spacing:1.7px;font-size:11px;margin:0 0 28px 6px}#northstar-app nav{display:grid;gap:8px}#northstar-app .nav-item{display:block;padding:11px 12px;color:#e1e8ef;text-decoration:none;border-radius:6px}#northstar-app .nav-item.active{background:#24435e;color:#fff}#northstar-app .account{display:grid;gap:3px;margin-top:auto;border-top:1px solid #365169;padding:19px 8px 0;color:#cfdae5;font-size:12px}#northstar-app .account strong{color:#fff;font-size:14px;font-weight:500}#northstar-app .side-link{color:#e1e8ef;text-align:left;padding:7px 0;border:0;background:none;text-decoration:underline}#northstar-app .main{padding:27px 32px 35px;min-width:0;max-width:1280px;width:100%}#northstar-app .workspace-label{font-size:12px;color:var(--muted);margin-bottom:25px}#northstar-app .page-head{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:24px}#northstar-app .ns-panel{background:#fff;border:1px solid var(--line);border-radius:8px;padding:21px;margin-bottom:18px;min-width:0}#northstar-app .ns-empty{padding:32px 22px}#northstar-app .ns-empty p{color:var(--muted);margin-top:10px}#northstar-app .row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}#northstar-app .actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:17px}#northstar-app .primary,#northstar-app .secondary,#northstar-app .button-link{display:inline-flex;align-items:center;justify-content:center;border-radius:5px;padding:10px 15px;min-height:43px;text-decoration:none;border:1px solid var(--navy);background:var(--navy);color:#fff}#northstar-app .secondary{background:#fff;color:var(--navy);border-color:#bbc5ce}#northstar-app .button-link.secondary{color:var(--navy)}#northstar-app .text-button{padding:9px 0;min-height:40px;color:var(--navy);background:none;border:0;text-decoration:underline;text-underline-offset:3px}#northstar-app button:disabled{opacity:.55;cursor:default}#northstar-app .block{width:100%;margin-top:22px}#northstar-app .field{display:grid;gap:7px;margin:17px 0;min-width:0}#northstar-app .field label,#northstar-app legend{font-weight:500}#northstar-app input,#northstar-app select,#northstar-app textarea{color:var(--ink);background:#fff;border:1px solid #b9c3cc;border-radius:5px;padding:10px 11px;min-height:43px;width:100%;min-width:0;max-width:100%}#northstar-app input[type=file]{border:0;padding:5px 0}#northstar-app input[type=radio],#northstar-app input[type=checkbox]{width:17px;min-height:17px;height:17px;margin:0;accent-color:var(--navy)}#northstar-app textarea{resize:vertical;min-height:100px}#northstar-app fieldset{border:0;padding:0;margin:17px 0;min-width:0}#northstar-app .radio-row{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:9px}#northstar-app .choice{display:flex;gap:7px;align-items:center;min-height:30px}#northstar-app .two-col{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start}#northstar-app .form-error{color:#a0322e;margin-top:12px}#northstar-app .form-error:empty{display:none}#northstar-app .notice{background:#f3e7d2;color:#6f4e24;padding:12px 15px;border-radius:6px;margin-bottom:18px;overflow-wrap:anywhere}#northstar-app .notice[hidden]{display:none !important}#northstar-app .badge{display:inline-block;font-size:12px;border-radius:20px;padding:4px 10px;background:var(--wait-bg);color:var(--wait-ink);white-space:nowrap}#northstar-app .eyebrow{font-size:11px;letter-spacing:1.1px;text-transform:uppercase;color:var(--muted);margin-bottom:5px}#northstar-app .stages{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px;margin-top:22px}#northstar-app .stage-mark{padding-top:9px;border-top:3px solid #e6e9ec;color:var(--muted);font-size:11px;overflow-wrap:anywhere}#northstar-app .stage-mark.current{border-color:var(--gold);color:var(--navy)}#northstar-app .stage-mark.complete{border-color:#28734f;color:#28734f}#northstar-app .stage-mark strong{display:block;font-size:12px;font-weight:500;margin-bottom:3px}#northstar-app .update-copy{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:12px}#northstar-app .byline{color:var(--muted);font-size:12px;margin:6px 0 12px}#northstar-app .file-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--line);padding:11px 12px;margin-top:12px;border-radius:5px;overflow-wrap:anywhere}#northstar-app .file-row span{min-width:0}#northstar-app details.notes{margin-top:14px}#northstar-app details.notes summary{color:var(--navy);text-decoration:underline;text-underline-offset:3px}#northstar-app details.notes p{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--muted);margin-top:9px}#northstar-app .list{display:grid;gap:13px}#northstar-app .order-row{display:flex;align-items:center;justify-content:space-between;gap:14px;text-decoration:none;color:var(--ink);padding:20px;border:1px solid var(--line);background:#fff;border-radius:8px;min-width:0}#northstar-app .order-row strong{display:block;font-size:16px;font-weight:500}#northstar-app .inbox-row{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:19px 20px;border:1px solid var(--line);background:#fff;border-radius:8px;color:var(--ink);text-decoration:none}#northstar-app .inbox-row.unread{background:#f8eedc;border-color:#d9bf98}#northstar-app .inbox-row strong{font-size:15px;font-weight:400}#northstar-app .inbox-row.unread strong{font-weight:500}#northstar-app .unread-label{color:#795020;font-size:12px;margin-left:6px}#northstar-app .message-meta{color:var(--muted);font-size:12px;margin-top:5px}#northstar-app .reply{border-top:1px solid var(--line);padding-top:14px;margin-top:18px;white-space:pre-wrap;overflow-wrap:anywhere}#northstar-app .table-wrap{overflow:auto}#northstar-app table{width:100%;border-collapse:collapse;text-align:left}#northstar-app th,#northstar-app td{padding:12px 9px;border-bottom:1px solid var(--line);font-weight:400;vertical-align:top}#northstar-app th{font-size:12px;color:var(--muted)}#northstar-app .email-preview{max-width:650px;margin:auto}#northstar-app .meeting-summary{display:grid;grid-template-columns:120px minmax(0,1fr);gap:9px 15px;margin:18px 0}#northstar-app .meeting-summary dt{color:var(--muted)}#northstar-app .meeting-summary dd{margin:0;overflow-wrap:anywhere}#northstar-app .demo-foot{font-size:12px;color:var(--muted);margin-top:26px}#northstar-app .login-bar{padding:19px 26px;background:var(--navy);color:#dfd3c1;display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;font-size:12px}#northstar-app .login-page{background:var(--cream);min-height:100vh}#northstar-app .login-main{display:grid;place-items:center;padding:40px 18px;min-height:calc(100vh - 100px)}#northstar-app .login-card{width:100%;max-width:420px;background:#fff;border:1px solid var(--line);border-radius:9px;padding:29px}#northstar-app .login-card .eyebrow{color:#795020;margin-bottom:8px}#northstar-app .login-bottom{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:17px;margin-top:18px;font-size:12px;color:var(--muted)}#northstar-app .menu-toggle{display:none}#northstar-app .skip{position:absolute;transform:translateY(-200%);background:#fff;padding:12px;z-index:10}#northstar-app .skip:focus{transform:translateY(0)}#northstar-app dialog{border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);max-width:min(520px,90vw);padding:24px}#northstar-app dialog::backdrop{background:#102f4977}#northstar-app dialog p{margin-top:17px;overflow-wrap:anywhere}#northstar-app :focus-visible{outline:3px solid var(--gold);outline-offset:3px}#northstar-app [hidden]{display:none!important}@media(max-width:1000px){#northstar-app .two-col{grid-template-columns:minmax(0,1fr)}#northstar-app .main{padding:24px}#northstar-app .stages{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}}@media(max-width:620px){#northstar-app .app-shell{display:block}#northstar-app .sidebar{padding:16px;gap:8px}#northstar-app .brand-row{display:flex;align-items:center;justify-content:space-between;gap:12px}#northstar-app .logo{width:145px}#northstar-app .menu-toggle{display:inline-flex}#northstar-app .portal-label{margin-bottom:0}#northstar-app nav{display:none}#northstar-app .sidebar.nav-open nav{display:grid}#northstar-app .account{display:none}#northstar-app .sidebar.nav-open .account{display:grid;margin-top:12px}#northstar-app .main{padding:22px 16px}#northstar-app .demo-bar{padding:8px 16px}#northstar-app .ns-panel{padding:17px}#northstar-app .inbox-row{padding:16px;flex-wrap:wrap}#northstar-app .meeting-summary{grid-template-columns:1fr;gap:3px}#northstar-app .meeting-summary dd{margin-bottom:9px}#northstar-app .login-card{padding:24px}#northstar-app h1{font-size:25px}}@media(pointer:coarse){#northstar-app button,#northstar-app .button-link,#northstar-app .nav-item{min-height:44px}#northstar-app input,#northstar-app select,#northstar-app textarea{font-size:16px}#northstar-app .choice{min-height:44px}}@media(prefers-reduced-motion:reduce){#northstar-app *{scroll-behavior:auto}}

#northstar-app .attachment-draft{margin:12px 0;padding:12px;background:#f4f8f5;border:1px solid #cfdfd3;border-radius:6px;overflow-wrap:anywhere}#northstar-app .attachment-ready{color:#236345;font-weight:500}#northstar-app .attachment-error{color:#9d2323}#northstar-app #update-reply-form{margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}#northstar-app .update-history{margin-top:24px}

#northstar-app .attachment-indicator{display:inline-block;margin-left:8px;font-size:15px;vertical-align:middle}

/* Status colours: one meaning each, used for badges, buttons and stage bars alike */
#northstar-app .badge.wait{background:var(--wait-bg);color:var(--wait-ink)}
#northstar-app .badge.done{background:var(--done-bg);color:var(--done-ink)}
#northstar-app .badge.info{background:var(--info-bg);color:var(--info-ink)}
#northstar-app .badge.declined{background:var(--declined-bg);color:var(--declined-ink)}
#northstar-app .badges{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
#northstar-app button[data-done]{background:var(--done-bg);border-color:#b9d6c4;color:var(--done-ink);opacity:1}
#northstar-app .response-line{color:var(--done-ink)}
#northstar-app .help.block{display:block;margin-top:2px}
#northstar-app .text-button.danger{color:var(--declined)}
#northstar-app .danger-button{display:inline-flex;align-items:center;justify-content:center;border-radius:5px;padding:10px 15px;min-height:43px;border:1px solid var(--declined);background:#fff;color:var(--declined);font-weight:500}
#northstar-app .danger-button:hover{background:var(--declined-bg)}
#northstar-app .confirm-dialog .actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}
#northstar-app .three-col{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start}
#northstar-app .zone-change{margin:-4px 0 18px;color:var(--muted);font-size:13px}
#northstar-app .zone-change summary{cursor:pointer;color:var(--navy);text-decoration:underline;text-underline-offset:3px;width:fit-content}
#northstar-app .zone-change[open] summary{margin-bottom:10px}
#northstar-app .chips{display:flex;flex-wrap:wrap;gap:7px;margin:8px 0 10px;min-height:32px;align-items:center}
#northstar-app .chip{display:inline-flex;align-items:center;gap:6px;background:#eef1f5;border:1px solid #d3dae2;border-radius:18px;padding:3px 4px 3px 12px;font-size:13px;color:var(--navy);max-width:100%;overflow-wrap:anywhere}
#northstar-app .chip-note{font-size:11px;color:var(--muted)}
#northstar-app .chip-remove{border:0;background:transparent;color:var(--navy);width:26px;height:26px;min-height:26px;border-radius:50%;font-size:17px;line-height:1;cursor:pointer;padding:0}
#northstar-app .chip-remove:hover{background:#dde3ea}
#northstar-app .other-email{display:flex;gap:8px;margin-top:8px}
#northstar-app .other-email input{flex:1}
#northstar-app ul.participants{list-style:none;margin:0;padding:0;display:grid;gap:8px}
#northstar-app ul.participants li{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px}
#northstar-app ul.participants .person{min-width:0}

#northstar-app ul.participants .help.block{flex-basis:100%}
#northstar-app .respond{border-top:1px solid var(--line);padding-top:16px;margin-top:4px}
#northstar-app .respond h3{font-size:15px;margin:0}
#northstar-app .respond-accept,#northstar-app .respond-tentative,#northstar-app .respond-decline{display:inline-flex;align-items:center;border-radius:5px;padding:10px 15px;min-height:43px;background:#fff;cursor:pointer}
#northstar-app .respond-accept{border:1px solid var(--done);color:var(--done-ink)}
#northstar-app .respond-tentative{border:1px solid var(--gold);color:var(--wait-ink)}
#northstar-app .respond-decline{border:1px solid #d9a59d;color:var(--declined-ink)}
#northstar-app .respond-accept.chosen{background:var(--done);color:#fff}
#northstar-app .respond-tentative.chosen{background:var(--wait-bg);border-color:var(--gold)}
#northstar-app .respond-decline.chosen{background:var(--declined-bg);border-color:var(--declined)}
#northstar-app .secondary.chosen-wait{background:var(--wait-bg);border-color:var(--gold);color:var(--wait-ink)}
#northstar-app #meeting-proposal-form{margin-top:16px}
#northstar-app .demo-switch{display:inline-flex;align-items:center;gap:6px}
#northstar-app .demo-switch select{min-height:30px;padding:3px 8px;width:auto;font-size:12px}
@media(max-width:1000px){#northstar-app .three-col{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}#northstar-app .three-col .field:first-child{grid-column:1/-1}}
@media(max-width:620px){#northstar-app .three-col{grid-template-columns:minmax(0,1fr)}#northstar-app .meeting-row{flex-wrap:wrap}#northstar-app .badges{justify-content:flex-start}}

/* Collapsed reply threads */
#northstar-app details.thread{margin-top:18px;border:1px solid var(--line);border-radius:6px;background:#fbfaf7}
#northstar-app details.thread>summary{display:flex;flex-wrap:wrap;gap:4px 12px;align-items:baseline;padding:12px 14px;cursor:pointer;list-style:none}
#northstar-app details.thread>summary::-webkit-details-marker{display:none}
#northstar-app details.thread>summary::before{content:'▸';color:var(--navy);font-size:12px}
#northstar-app details.thread[open]>summary::before{content:'▾'}
#northstar-app .thread-count{font-weight:500;color:var(--navy)}
#northstar-app .thread-latest{display:flex;flex-wrap:wrap;gap:2px 10px;min-width:0;flex:1}
#northstar-app .byline-inline{color:var(--muted);font-size:12px}
#northstar-app .thread-snippet{color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
#northstar-app details.thread[open] .thread-snippet{display:none}
#northstar-app details.thread .reply{margin:0 14px 14px;padding-top:12px}
#northstar-app details.thread .reply:first-of-type{border-top:0}
/* Estimates, shipping and sample history */
#northstar-app .estimate{display:block;color:var(--navy);font-size:13px;margin-top:4px}
#northstar-app .status-box .facts{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:6px 18px;margin:0}
#northstar-app .status-box dt{color:var(--muted)}
#northstar-app .status-box dd{margin:0;color:var(--navy);font-weight:500;overflow-wrap:anywhere}
#northstar-app .countdown{font-weight:400;color:var(--muted);margin-left:6px}
#northstar-app .status-box .help{margin:10px 0 0}
#northstar-app .sample-list{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:8px}
#northstar-app .sample-list li{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid var(--line);border-radius:6px;padding:11px 13px}
#northstar-app .deliver{border-top:1px solid var(--line);margin-top:20px;padding-top:16px}
#northstar-app #shipment-form{margin-top:22px}
#northstar-app #shipment-form h3{font-size:15px;margin:0 0 4px}
/* Past orders */
#northstar-app .nav-rule{border:0;border-top:1px solid var(--gold);opacity:.7;margin:14px 6px}
#northstar-app .past-row{cursor:default}
#northstar-app .past-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}
#northstar-app .stage-select{width:auto;min-height:36px;padding:6px 10px;font-size:13px}
#northstar-app .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}
/* Invoices */
#northstar-app .invoice-group+.invoice-group{margin-top:20px}
#northstar-app .invoice-group h3{font-size:15px;margin:14px 0 4px}
#northstar-app details.past-invoices>summary{display:flex;align-items:baseline;gap:10px;cursor:pointer}
#northstar-app details.past-invoices>summary h2{margin:0}
/* Meetings */
#northstar-app .secondary.small{min-height:32px;padding:5px 10px;font-size:13px;margin-left:6px}
#northstar-app details.add-calendar{position:relative}
#northstar-app details.add-calendar>summary{list-style:none;cursor:pointer}
#northstar-app details.add-calendar>summary::-webkit-details-marker{display:none}
#northstar-app .calendar-menu{position:absolute;z-index:5;top:calc(100% + 6px);left:0;background:#fff;border:1px solid var(--line);border-radius:6px;box-shadow:0 6px 18px rgba(16,47,73,.12);padding:6px;display:grid;min-width:210px}
#northstar-app .calendar-menu a,#northstar-app .calendar-menu .text-button{display:block;text-align:left;padding:9px 10px;text-decoration:none;color:var(--navy);border-radius:4px;min-height:0}
#northstar-app .calendar-menu a:hover,#northstar-app .calendar-menu .text-button:hover{background:#f1f3f6}
#northstar-app .phone-only{display:none}
@media(pointer:coarse) and (max-width:820px){#northstar-app .phone-only{display:inline}#northstar-app .desk-only{display:none}}
#northstar-app .manage-meeting{border-top:1px solid var(--line);padding-top:12px}
#northstar-app .attachment-indicator{display:inline-flex;align-items:center;color:var(--navy);margin:0 4px 0 8px;vertical-align:-2px}
@media(max-width:620px){#northstar-app .past-controls{justify-content:flex-start}#northstar-app .past-row{flex-wrap:wrap}#northstar-app .status-box .facts{grid-template-columns:1fr;gap:2px}#northstar-app .status-box dd{margin-bottom:8px}}

/* Page messages: green for done, soft red for problems */
#northstar-app .notice.success{background:var(--done-bg);color:var(--done-ink);border:1px solid #b9d6c4}
#northstar-app .notice.error{background:var(--declined-bg);color:var(--declined-ink);border:1px solid #e2b7b0}
/* Latest update box and pinned requests */
#northstar-app .latest-box .byline{margin-top:4px}
#northstar-app .pinned{border-top:1px solid var(--line);margin-top:20px;padding-top:16px}
#northstar-app .pinned>.row{margin-bottom:2px}
#northstar-app .pinned-label{margin:0;font-size:13px;font-weight:500;color:var(--wait-ink)}
#northstar-app .reply-link{display:inline-block;margin-top:10px;padding:4px 0;min-height:0}
#northstar-app form.update-reply{margin-top:14px}
#northstar-app form.update-reply h3{font-size:15px;margin:0 0 4px}
/* One thread row for Earlier updates, the current update, and Messages. */
#northstar-app .update-history>h2{margin:8px 0 10px}
#northstar-app .earlier-list{display:grid;gap:8px}
#northstar-app details.thread-row{background:#fff;border:1px solid var(--line);border-radius:7px}
#northstar-app details.thread-row>summary{display:flex;align-items:center;gap:12px;padding:11px 14px}
#northstar-app details.thread-row.from-customer>summary{background:var(--customer-bg)}
#northstar-app details.thread-row.from-team>summary{background:#fff}
#northstar-app details.thread-row[open]>summary{border-bottom:1px solid var(--line);background:#fff}
#northstar-app details.thread-row[open] .tr-subject{display:none}
#northstar-app .tr-main{display:flex;flex-direction:column;min-width:0;flex:1;gap:1px}
#northstar-app .tr-name{font-weight:500;color:var(--navy)}
#northstar-app .tr-when{color:var(--muted);font-size:12px;font-weight:400;margin-left:4px;white-space:nowrap}
#northstar-app .tr-when::before{content:'· '}
#northstar-app .tr-count{color:var(--muted);font-weight:400}
#northstar-app .tr-subject{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink)}
#northstar-app .tr-date{font-size:12px;color:var(--muted);white-space:nowrap}
#northstar-app .tr-order{font-size:12px;color:var(--muted)}
#northstar-app .tr-body,#northstar-app .er-body{padding:4px 16px 14px}
#northstar-app details.thread-row.section-fold>summary h2{flex:none;font-size:19px;margin:0 0 2px}
#northstar-app details.thread-row.pinned{margin-top:14px}
@media(max-width:620px){#northstar-app details.thread-row>summary{flex-wrap:wrap}#northstar-app details.thread-row>summary .badge{margin-left:22px}#northstar-app a.inbox-row.thread-row{flex-wrap:wrap}}
/* Inbox preview and the order-list calendar icon */
#northstar-app .message-preview{margin:3px 0 0;color:var(--ink);font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:62ch}
#northstar-app .inbox-row>div{min-width:0}
#northstar-app .cal-icon{vertical-align:-2px;margin-right:6px}
@media(max-width:620px){#northstar-app details.earlier-row>summary{flex-wrap:wrap}#northstar-app details.earlier-row>summary .badge{margin-left:22px}}


/* Management forms, company groups, and activity history. */
#northstar-app .management-filters{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:16px;align-items:end}
#northstar-app .management-filters .field{margin:6px 0 18px}
#northstar-app .number-generator{display:flex;gap:8px;align-items:center}
#northstar-app .number-generator input{flex:1;min-width:0}
#northstar-app .managed-orders{display:grid;gap:12px}
#northstar-app .managed-order{border:1px solid var(--line);border-radius:7px;padding:17px}
#northstar-app .order-heading{font-weight:500;font-size:16px;text-decoration:none}
#northstar-app .edit-order{margin-top:12px}
#northstar-app .edit-order>summary{color:var(--navy);cursor:pointer;width:fit-content}
#northstar-app .edit-order form{padding-top:8px;max-width:680px}
#northstar-app .staff-actions{min-width:174px}
#northstar-app .staff-actions>summary{display:flex;gap:14px;justify-content:space-between;list-style:none;cursor:pointer;white-space:nowrap}
#northstar-app .staff-actions>summary::-webkit-details-marker{display:none}
#northstar-app .staff-action-options{display:grid;gap:3px;padding:6px;margin-top:5px;border:1px solid var(--line);border-radius:5px;background:#fbfaf7}
#northstar-app .staff-action{border:0;background:transparent;color:var(--navy);text-align:left;padding:9px;border-radius:4px;white-space:nowrap}
#northstar-app .staff-action:hover{background:#eaf0f4}
#northstar-app .staff-action.danger{color:var(--declined-ink)}
#northstar-app .company-group{margin-top:12px;border:1px solid var(--line);border-radius:6px;padding:0 14px}
#northstar-app .company-group>summary{display:flex;align-items:center;gap:10px;padding:14px 0;list-style:none;cursor:pointer}
#northstar-app .company-group>summary::-webkit-details-marker,#northstar-app .activity-repeat>summary::-webkit-details-marker{display:none}
#northstar-app .company-group[open]>summary .disclosure-arrow,#northstar-app .activity-repeat[open]>summary .disclosure-arrow{transform:rotate(90deg)}
#northstar-app .disclosure-arrow{display:inline-block;color:var(--navy);flex-shrink:0}
#northstar-app .company-group .table-wrap{padding-bottom:14px}
#northstar-app .team-picker{max-width:680px}
#northstar-app .team-picker>summary{display:flex;align-items:center;gap:12px;justify-content:space-between;list-style:none;cursor:pointer}
#northstar-app .team-picker>summary::-webkit-details-marker{display:none}
#northstar-app .team-count{font-size:12px;color:var(--muted);margin-left:auto}
#northstar-app .team-options{display:grid;gap:7px;border:1px solid var(--line);padding:13px;margin-top:6px;border-radius:5px;max-height:260px;overflow:auto}
#northstar-app .team-options .choice{flex-wrap:wrap}
#northstar-app .role-guide{line-height:1.8;margin:0 0 15px}
#northstar-app .activity-list{display:grid;gap:10px}
#northstar-app .activity-event{border:1px solid var(--line);border-left:4px solid var(--navy);border-radius:5px;padding:13px 15px;display:flex;justify-content:space-between;align-items:start;gap:16px;background:#fff}
#northstar-app .activity-event strong{font-weight:500}
#northstar-app .activity-event.read-event{border-left-color:#5c88aa}
#northstar-app .activity-event time,#northstar-app .activity-repeat time{font-size:12px;color:var(--muted);white-space:nowrap}
#northstar-app .activity-repeat{background:#f2f3f4;border:1px solid #dfe3e7;border-left:4px solid #b9c2cb;border-radius:5px}
#northstar-app .activity-repeat>summary{display:flex;align-items:start;gap:12px;list-style:none;cursor:pointer;padding:13px 15px}
#northstar-app .activity-repeat>summary>div{flex:1;min-width:0}
#northstar-app .activity-repeat strong{font-weight:400;color:#475a6c}
#northstar-app .activity-repeat ul{margin:0 18px 15px 38px;padding-left:17px;color:#475a6c;font-size:13px;display:grid;gap:6px}
#northstar-app .password-checks{padding:0;list-style:none;font-size:12px;line-height:1.8;color:var(--declined-ink)}
#northstar-app .password-checks .satisfied,#northstar-app [data-password-match].satisfied{color:var(--done-ink)}
#northstar-app .draft-controls{border-top:1px solid var(--line);padding-top:8px}
#northstar-app .place-entry{display:flex;align-items:center;gap:8px}
#northstar-app .place-entry input{flex:1;width:auto}
#northstar-app .meet-apps{display:flex;gap:6px;flex:none}
#northstar-app .meet-apps[hidden]{display:none}
#northstar-app a.meet-app{display:inline-flex;align-items:center;justify-content:center;width:43px;height:43px;min-height:43px;padding:7px;border:1px solid #b9c3cc;border-radius:5px;background:#fff;text-decoration:none}
#northstar-app a.meet-app:hover{background:var(--info-bg)}
#northstar-app a.meet-app .brand-logo{height:22px;width:auto;display:block}
@media(max-width:620px){#northstar-app .management-filters{grid-template-columns:1fr;gap:0}#northstar-app .activity-event,#northstar-app .activity-repeat>summary{flex-wrap:wrap}#northstar-app .activity-event time,#northstar-app .activity-repeat time{white-space:normal}#northstar-app .company-group{padding:0 10px}#northstar-app .managed-order{padding:13px}}

#northstar-app .read-receipts{margin-top:18px;border-top:1px solid var(--line);padding-top:14px}#northstar-app .read-receipts summary{color:var(--navy);cursor:pointer;width:fit-content}#northstar-app .read-receipts ul{list-style:none;padding:0;margin:12px 0;display:grid;gap:8px}#northstar-app .read-receipts li{display:flex;align-items:center;gap:10px;flex-wrap:wrap}

/* Nov 3 invoice and calendar sizing. */
#northstar-app .invoice-section-toggle>summary{display:flex;align-items:center;gap:12px;list-style:none;cursor:pointer}
#northstar-app .invoice-section-toggle>summary h2{margin:0;flex:1}
#northstar-app .invoice-section-toggle>summary::-webkit-details-marker,#northstar-app .invoice-order>summary::-webkit-details-marker{display:none}
#northstar-app .invoice-section-toggle[open]>summary .disclosure-arrow,#northstar-app .invoice-order[open]>summary .disclosure-arrow{transform:rotate(90deg)}
#northstar-app .invoice-orders{display:grid;gap:10px;padding-top:16px}
#northstar-app .invoice-order{border:1px solid var(--line);border-radius:6px;background:#fff}
#northstar-app .invoice-order>summary{display:flex;align-items:center;gap:12px;cursor:pointer;padding:12px 14px;list-style:none}
#northstar-app .invoice-order>summary>div{flex:1;min-width:0}
#northstar-app .invoice-order>summary strong{font-size:14px;font-weight:500}
#northstar-app .invoice-entries{padding:0 14px 4px}
#northstar-app .invoice-entry{display:flex;align-items:center;gap:16px;flex-wrap:wrap;border-top:1px solid var(--line);padding:13px 0}
#northstar-app .invoice-entry>div{min-width:0;max-width:100%;overflow-wrap:anywhere}
#northstar-app .invoice-open{text-decoration:none!important;flex-shrink:0;padding:8px 12px;min-height:38px}
#northstar-app .invoice-attachment{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
#northstar-app .calendar-menu a,#northstar-app .calendar-menu .text-button{display:flex;align-items:center;gap:9px;white-space:nowrap}
#northstar-app .calendar-menu{min-width:280px}
#northstar-app .calendar-menu .brand-cal,#northstar-app .calendar-menu .menu-icon{width:18px;height:18px;flex:none;display:block}
#northstar-app .send-note{margin:8px 0 0}

@media(max-width:620px){#northstar-app .invoice-entry{align-items:start;gap:10px}#northstar-app .invoice-order>summary{gap:9px;padding:11px}#northstar-app .calendar-menu{max-width:calc(100vw - 60px)}#northstar-app .calendar-menu a,#northstar-app .calendar-menu .text-button{white-space:normal}}

/* Nov 3 sizing: form boxes at a standard, compact width instead of full width. */
#northstar-app main input:not([type=checkbox]):not([type=radio]):not([type=file]),#northstar-app main select{max-width:440px}
#northstar-app main textarea{max-width:680px}
#northstar-app main input.compact{max-width:300px}
#northstar-app main input[type=search]{max-width:520px}
#northstar-app .login-card input,#northstar-app .login-card select{max-width:100%}
#northstar-app .management-filters{grid-template-columns:minmax(0,520px) 190px}

/* Nov 3: no underlines on text buttons or links; underline only on hover/focus so they still read as clickable. */
#northstar-app a,#northstar-app .text-button,#northstar-app .side-link,#northstar-app details.notes summary,#northstar-app .zone-change summary{text-decoration:none}
#northstar-app main a:not(.order-row):not(.order-link):not(.inbox-row):not(.primary):not(.secondary):not(.button-link):not(.nav-item),#northstar-app .text-button{color:var(--navy);font-weight:500}
#northstar-app a:hover,#northstar-app a:focus-visible,#northstar-app .text-button:hover,#northstar-app .text-button:focus-visible,#northstar-app .side-link:hover{text-decoration:underline;text-underline-offset:3px}
#northstar-app .order-row:hover,#northstar-app .order-link:hover,#northstar-app .inbox-row:hover,#northstar-app .primary:hover,#northstar-app .secondary:hover,#northstar-app .button-link:hover,#northstar-app .nav-item:hover{text-decoration:none}
#northstar-app .reply-link{display:inline-block;margin-top:10px;padding:4px 0;min-height:0}

/* Nov 3 (05:45): posts. Customer posts light blue-grey, NorthStar posts white, everywhere. */
#northstar-app{--customer-bg:#edf2f7;--customer-line:#d2dde8}
#northstar-app .post{display:block;margin-top:12px;padding:12px 14px;border:1px solid var(--line);border-radius:7px;background:#fff;white-space:normal;overflow-wrap:anywhere}
#northstar-app .post.from-customer{background:var(--customer-bg);border-color:var(--customer-line)}
#northstar-app .post .update-copy{white-space:pre-wrap;margin:6px 0 0}
#northstar-app .post-head{margin:0;display:flex;flex-wrap:wrap;gap:2px 10px;align-items:baseline}
#northstar-app .post-label{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
#northstar-app .post-sender{margin:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 6px;color:var(--navy);font-size:14px;line-height:1.35}
#northstar-app .post-name{font-weight:500}
#northstar-app .post-role{color:var(--muted);font-size:12px;font-weight:400}
#northstar-app .post-role::before{content:'· '}
#northstar-app .post-when{color:var(--muted);font-size:12px;font-weight:400}
#northstar-app .post-when::before{content:'· '}
#northstar-app .post-to{margin:1px 0 0;color:var(--muted);font-size:12px}
#northstar-app .post-time{margin:1px 0 0;color:var(--muted);font-size:12px}
#northstar-app details.post>summary{display:grid;gap:2px;cursor:pointer;list-style:none}
#northstar-app .post-snippet{color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#northstar-app details.post[open] .post-snippet{display:none}
#northstar-app .thread{margin-top:4px}
#northstar-app .day-divider{display:flex;align-items:center;gap:12px;margin:16px 0 6px;color:var(--navy);font-size:12px;font-weight:500}
#northstar-app .day-divider::before,#northstar-app .day-divider::after{content:'';flex:1;height:1px;background:var(--line)}
#northstar-app .thread>.day-divider:first-child{margin-top:2px}
#northstar-app .conversation>.thread{margin-top:0}

/* One expand/collapse arrow for every collapsible box in the app: ▸ closed, ▾ open. */
#northstar-app details.fold>summary{list-style:none;cursor:pointer}
#northstar-app details.fold>summary::-webkit-details-marker{display:none}
#northstar-app details.fold>summary::before{content:'▸';color:var(--navy);font-size:12px;flex:none;margin-right:6px}
#northstar-app details.fold[open]>summary::before{content:'▾'}
#northstar-app details.post.fold>summary{grid-template-columns:auto minmax(0,1fr)}
#northstar-app details.post.fold>summary::before{grid-column:1;grid-row:1/4;align-self:start;padding-top:3px;margin-right:8px}
#northstar-app details.post.fold>summary>*{grid-column:2;min-width:0}
#northstar-app details.more-replies{margin-top:12px}
#northstar-app details.more-replies>summary{color:var(--navy);font-weight:500;padding:4px 0}
#northstar-app .fold-arrow::after{content:'▸';font-size:11px;margin-left:5px}
#northstar-app [aria-expanded=true]>.fold-arrow::after{content:'▾'}

/* A pressed toggle (e.g. Request changes while its reply box is open): gold border, press again to close. */
#northstar-app .toggle-button[aria-pressed=true]{border:2px solid var(--gold);box-shadow:0 0 0 1px var(--gold) inset}
#northstar-app .secondary.toggle-button[aria-pressed=true]{background:var(--wait-bg)}

#northstar-app .draft-label{color:var(--info-ink);background:var(--info-bg);font-size:12px;font-weight:500;border-radius:10px;padding:1px 8px;margin-left:8px}
#northstar-app .draft-delete{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-height:32px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--muted);flex:none;opacity:0}
#northstar-app .inbox-row:hover .draft-delete,#northstar-app .inbox-row:focus-within .draft-delete,#northstar-app .draft-delete:focus-visible{opacity:1}
#northstar-app .draft-delete:hover{background:var(--info-bg);color:var(--ink)}
@media(hover:none),(pointer:coarse){#northstar-app .draft-delete{opacity:1}}

/* Nov 3 (05:45): Order progress summary and written-in estimates. */
#northstar-app .soft-warning{color:var(--declined-ink)}
#northstar-app .field-group-label{font-weight:500;margin:18px 0 0}
#northstar-app .progress-summary{margin:18px 0 0;padding:14px 16px;border:1px solid var(--line);border-radius:7px;background:#fbfaf7;display:grid;grid-template-columns:max-content minmax(0,1fr);gap:6px 18px}#northstar-app .progress-summary[hidden]{display:none !important}
#northstar-app .progress-summary dt{color:var(--muted)}
#northstar-app .progress-summary dd{margin:0;overflow-wrap:anywhere}
#northstar-app .progress-summary .unsaved{color:var(--muted);font-weight:400}
#northstar-app .save-status{margin:0;min-height:1.2em}
#northstar-app .save-status.is-saved{color:var(--done-ink);font-weight:500}
#northstar-app .save-status.is-unchanged{color:var(--muted)}
#northstar-app .save-status.is-error{color:var(--declined-ink);font-weight:500}
#northstar-app .status-wrap{display:inline-flex;align-items:center;gap:8px;position:relative;flex:none}
#northstar-app .status-change-link{padding:0;min-height:0;font-size:13px;text-decoration:underline;text-underline-offset:3px}
#northstar-app .status-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:6;width:min(260px,70vw);padding:12px;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:0 8px 24px rgba(16,47,73,.12);display:grid;gap:8px}
#northstar-app .status-menu label{display:grid;gap:4px;font-size:13px;font-weight:500}
#northstar-app .status-menu .primary{justify-self:start}
#northstar-app .auto-close-notice{background:var(--info-bg)}
#northstar-app .auto-close-notice .plain-list{margin:10px 0}
#northstar-app .save-status.is-fading{opacity:0;transition:opacity .4s ease}
@media(prefers-reduced-motion:reduce){#northstar-app .save-status.is-fading{transition:none}}

/* Nov 3 (05:45): Manage orders rows, staff orders column, one-line activity. */
#northstar-app details.managed-order{padding:0;background:#fff}
#northstar-app details.managed-order>summary{display:flex;align-items:center;gap:12px;padding:13px 16px}
#northstar-app .mo-main{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 12px;flex:1;min-width:0}
#northstar-app details.managed-order[open]>summary{border-bottom:1px solid var(--line)}
#northstar-app .mo-body{padding:4px 16px 16px}
#northstar-app details.orders-more>summary{display:inline}
#northstar-app .plain-list{list-style:none;margin:6px 0 0 18px;padding:0;display:grid;gap:4px}
#northstar-app .activity-event,#northstar-app details.activity-repeat>summary,#northstar-app details.activity-event>summary{display:flex;align-items:baseline;gap:14px;justify-content:space-between}
#northstar-app details.activity-event{display:block;padding:0}
#northstar-app details.activity-event>summary{padding:13px 15px;list-style:none;cursor:pointer}
#northstar-app details.activity-event>summary::-webkit-details-marker{display:none}
#northstar-app .activity-draft-body{margin:0 15px 14px 19px;display:grid;gap:6px}
#northstar-app .activity-draft-body .update-copy{white-space:pre-wrap}
#northstar-app .activity-outcome{color:var(--ink)}
#northstar-app .activity-line{min-width:0;overflow-wrap:anywhere}
#northstar-app .activity-event time,#northstar-app .activity-repeat time,#northstar-app details.activity-event time{white-space:nowrap;color:var(--muted);font-size:13px;flex-shrink:0}
#northstar-app .activity-event,#northstar-app details.activity-repeat>summary,#northstar-app details.activity-event>summary{flex-wrap:nowrap}
@media(max-width:620px){#northstar-app .activity-event,#northstar-app .activity-repeat>summary,#northstar-app details.activity-event>summary{flex-wrap:wrap}}
#northstar-app details.import-orders>summary{display:flex;align-items:center}
#northstar-app details.import-orders>summary h2{margin:0}
#northstar-app .import-table td,#northstar-app .import-table th{font-size:14px}
#northstar-app .import-table tr.import-bad td{background:var(--declined-bg);color:var(--declined-ink)}
#northstar-app main .team-picker{max-width:440px}
#northstar-app .compact-button{min-height:36px;padding:6px 12px;font-size:14px}
#northstar-app .export-orders{display:flex;align-items:center;gap:12px}
#northstar-app [data-export-status]{color:var(--done-ink)}

/* Order page: boxes after the first card start collapsed; the heading line opens them. */
#northstar-app details.section-fold>summary{display:flex;align-items:center;gap:10px}
#northstar-app details.section-fold>summary h2{margin:0;flex:1;font-size:inherit;font-size:20px}
#northstar-app details.section-fold>summary::before{font-size:14px;margin-right:2px}
#northstar-app details.section-fold[open]>summary{margin-bottom:14px}
#northstar-app .section-count{color:var(--muted);font-size:15px;flex:1}
#northstar-app details.section-fold>summary h2:has(+.section-count){flex:0 1 auto}
#northstar-app details.update-history.ns-panel .earlier-list{margin-top:4px}

/* Nov 3 (06:30): inbox rows coloured by who spoke last (unread stays gold); past boxes light grey with white rows inside. */
#northstar-app .inbox-row.from-customer{background:var(--customer-bg);border-color:var(--customer-line)}
#northstar-app .past-panel{background:var(--info-bg);border-color:#d6dce2}
#northstar-app .list.past-panel{padding:14px;border:1px solid #d6dce2;border-radius:8px}
#northstar-app .past-panel .order-row,#northstar-app .past-panel .meeting-row,#northstar-app .past-panel .invoice-order{background:#fff}

/* Short confirmation pop-up (outside the app frame so it survives page changes). */
.ns-toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,12px);opacity:0;transition:opacity .25s ease,transform .25s ease;z-index:1000;background:#e7f2eb;color:#245c40;border:1px solid #b9d6c4;border-radius:8px;padding:11px 18px;font:500 14px/1.4 Inter,Arial,sans-serif;box-shadow:0 6px 20px rgba(16,47,73,.16);max-width:calc(100vw - 32px);pointer-events:none}
.ns-toast.show{opacity:1;transform:translate(-50%,0)}
@media(prefers-reduced-motion:reduce){.ns-toast{transition:none}}

#northstar-app .attach-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
#northstar-app .portal-picker{position:relative}
#northstar-app .portal-menu{position:absolute;z-index:6;top:calc(100% + 6px);left:0;background:#fff;border:1px solid var(--line);border-radius:6px;box-shadow:0 6px 18px rgba(16,47,73,.12);padding:8px;width:min(320px,70vw)}
#northstar-app .portal-menu input{width:100%;margin:0 0 6px}
#northstar-app .portal-list{display:grid;max-height:240px;overflow:auto}
#northstar-app .portal-option{display:grid;gap:1px;text-align:left;background:transparent;border:0;color:var(--navy);padding:8px;border-radius:4px;cursor:pointer;min-height:0}
#northstar-app .portal-option:hover,#northstar-app .portal-option:focus{background:#eef1f5}
#northstar-app .portal-option small{color:var(--muted);font-weight:400}
#northstar-app .attachment-draft .file-row{border:0;padding:0;margin:0;background:transparent}
#northstar-app .attachment-draft .file-row p{min-width:0;flex:1;margin:0}
#northstar-app #progress-date-field .link-button{display:inline-flex;align-items:center;justify-self:start;width:auto;max-width:max-content;min-height:0;margin:0;padding:2px 0;border:0;background:transparent;color:var(--navy);font-size:14px;font-weight:500;line-height:1.4;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
#northstar-app #progress-date-field .link-button:hover,#northstar-app #progress-date-field .link-button:focus-visible{text-decoration:underline}
/* Current and past orders: a red Delete beside each row for coordinators and administrators. */
#northstar-app .order-row.order-item{padding:0;gap:0}
#northstar-app .order-item>.order-link{display:flex;flex:1;align-items:center;justify-content:space-between;gap:14px;padding:20px;color:var(--ink);text-decoration:none;min-width:0}
#northstar-app .order-item>.order-delete{flex:none;margin-right:20px}
#northstar-app .past-controls .order-delete{margin-left:2px}
/* Search orders / Search invoices above a list: the same compact field as Manage orders. */
#northstar-app .list-filters{grid-template-columns:minmax(0,520px)}
#northstar-app .list-filters .field{margin:0 0 16px}
#northstar-app .invoice-results .invoice-entries{padding:0}
@media(max-width:620px){#northstar-app .order-item{flex-wrap:wrap}#northstar-app .order-item>.order-link{flex:1 1 100%}#northstar-app .order-item>.order-delete{margin:-8px 0 14px 20px;padding:0;min-height:0}#northstar-app .list-filters{grid-template-columns:1fr}}
