@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,500;8..60,600&display=swap');
:root{--ink:#202b27;--muted:#78827d;--line:#e6e8e3;--paper:#f6f7f4;--white:#fff;--green:#9d2025;--green-dark:#7e171b;--green-pale:#f8e9e9;--gold:#c59b55;--serif:'Source Serif 4',Georgia,serif;--sans:'Noto Sans SC','DM Sans',sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:13px var(--sans);-webkit-font-smoothing:antialiased}.app-shell{min-height:100vh;display:flex}.sidebar{position:fixed;inset:0 auto 0 0;width:232px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:27px 17px 18px;z-index:2}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--ink);font-size:17px;font-weight:700;letter-spacing:.05em;padding:0 6px}.brand-mark{width:34px;height:34px;border-radius:8px;background:var(--green);color:#fff;display:grid;place-items:center;font-family:var(--serif);font-size:19px;font-weight:600}.brand-en{display:block;font:600 8px 'DM Sans',sans-serif;letter-spacing:.18em;color:#8b958e;margin-top:1px}.workspace{margin:34px 2px 28px;background:#f6f7f5;border:1px solid #ebede9;border-radius:7px;padding:11px 11px;display:flex;align-items:center;gap:9px;font-size:12px;font-weight:600}.workspace-dot{width:7px;height:7px;border-radius:50%;background:#3f795d}.chevron{margin-left:auto;color:#89928d}.nav-label{font-size:10px;color:#a2aaa5;letter-spacing:.08em;padding:0 10px 9px}.nav-list{display:grid;gap:4px}.nav-item{height:41px;display:flex;align-items:center;gap:11px;padding:0 10px;border-radius:6px;text-decoration:none;color:#67726c;font-size:12px}.nav-item.active{background:#edf3ef;color:#214f3e;font-weight:600}.nav-icon{font-family:Arial,sans-serif;width:16px;text-align:center;font-size:15px}.nav-count{margin-left:auto;font-size:10px;color:#4f695b}.nav-new{margin-left:auto;font:700 8px 'DM Sans';letter-spacing:.04em;color:#9a7b43;background:#f5f0e5;padding:3px 5px;border-radius:3px}.sidebar-bottom{margin-top:auto}.help-card{border:1px solid var(--line);border-radius:7px;padding:11px 10px;display:flex;align-items:center;gap:9px;margin-bottom:18px}.help-icon{width:23px;height:23px;border:1px solid #dce2dc;border-radius:50%;display:grid;place-items:center;color:#66806f;font:600 12px Georgia}.help-card strong,.profile-copy strong{font-size:11px;display:block;font-weight:600}.help-card small,.profile-copy small{font-size:10px;color:#929a95;display:block;margin-top:3px}.help-card .arrow{margin-left:auto;color:#96a099}.profile{border-top:1px solid var(--line);padding:17px 4px 0;display:flex;align-items:center;gap:9px}.avatar{width:29px;height:29px;border-radius:50%;background:#eaece4;color:#52644f;display:grid;place-items:center;font-size:11px;font-weight:600}.more{margin-left:auto;color:#89928d;letter-spacing:1px}.main-area{margin-left:232px;width:calc(100% - 232px);max-width:1600px;padding:0 42px;min-height:100vh}.topbar{height:62px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.breadcrumb{font-size:11px;color:#8a938d}.breadcrumb span{padding:0 9px;color:#c2c7c2}.breadcrumb strong{color:#44514a;font-weight:500}.top-actions{display:flex;align-items:center;gap:14px;color:#88918b}.icon-button{position:relative;border:0;background:none;color:#77817a;font-size:17px}.icon-button i{position:absolute;width:5px;height:5px;background:#bc805e;border:1px solid white;border-radius:50%;right:1px;top:1px}.top-divider{height:15px;border-left:1px solid #dfe2de}.today{font-size:10px}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;padding:30px 0 22px}.eyebrow{font:600 9px 'DM Sans',sans-serif;letter-spacing:.16em;color:#89948c}.eyebrow span{color:#b6a173;padding:0 4px}.page-heading h1{font:600 26px var(--serif);letter-spacing:.01em;margin:5px 0 3px;color:#26332d}.page-heading p{margin:0;color:#818b84;font-size:11px}.heading-actions{display:flex;gap:8px}.button{font:500 11px var(--sans);border-radius:5px;padding:9px 13px;cursor:pointer;transition:background .18s,border-color .18s,transform .18s}.button:active{transform:translateY(1px)}.button-primary{background:var(--green);color:#fff;border:1px solid var(--green)}.button-primary:hover{background:var(--green-dark)}.button-secondary{background:white;color:#4d5c53;border:1px solid #dfe3de}.button-secondary:hover{border-color:#9ba99f}.button span{font-size:14px;vertical-align:-1px}.summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.summary-card{height:127px;position:relative;overflow:hidden;background:white;border:1px solid #e8eae6;border-radius:7px;padding:14px 16px}.summary-top{display:flex;justify-content:space-between;color:#717c75;font-size:10px}.summary-symbol{font-size:14px;color:#5d806c}.summary-symbol.gold{color:#ba965b}.summary-symbol.blue{color:#68859a}.summary-value{font:600 27px var(--serif);color:#293831;line-height:1.15;margin-top:7px}.summary-foot{display:flex;align-items:center;gap:5px;font-size:9px;color:#939b96;margin-top:9px}.trend{color:#458063;font-weight:600}.foot-note{margin-left:auto;color:#a0a7a2}.spark-bars{position:absolute;right:14px;bottom:16px;height:32px;display:flex;align-items:end;gap:3px;opacity:.7}.spark-bars i{width:4px;background:#d6e4da;border-radius:2px 2px 0 0}.summary-card:nth-child(1):after{content:'';position:absolute;right:12px;bottom:15px;width:48px;height:20px;border-top:1.5px solid #91b49a;border-radius:50%;transform:rotate(-12deg);opacity:.6}.status-dot{height:6px;width:6px;border-radius:50%;background:#c89d56}.mini-ring{position:absolute;right:19px;bottom:15px;width:37px;height:37px;border-radius:50%;border:3px solid #edf0eb;border-top-color:#96b09d;display:grid;place-items:center;color:#668373;font:600 10px 'DM Sans'}.mini-ring small{font-size:7px}.month-track{position:absolute;bottom:18px;right:18px;color:#a1aaa4;font-size:8px}.month-track:before{content:'';height:3px;width:67px;display:block;background:#edf0eb;border-radius:4px;margin-bottom:7px}.month-track i{display:block;position:absolute;bottom:15px;left:0;width:48px;height:3px;background:#88a58e;border-radius:4px}.upload-summary{background:#f0f4ef;display:flex;align-items:flex-start;padding:17px 16px;gap:11px;border-color:#e4e9e2}.upload-icon{width:28px;height:28px;background:#e2ece3;color:#54755d;border-radius:6px;display:grid;place-items:center;font-size:15px}.upload-copy{display:flex;flex-direction:column;gap:4px;z-index:1}.upload-copy strong{font-size:11px;font-weight:600}.upload-copy span{color:#87928a;font-size:9px}.upload-copy button{border:0;background:none;padding:3px 0;text-align:left;color:#426d50;font:600 9px var(--sans);margin-top:4px;cursor:pointer}.upload-copy b{padding-left:4px}.paper-art{position:absolute;width:54px;height:65px;right:17px;bottom:-9px;transform:rotate(7deg);background:#fff;border:1px solid #e5e9e1;box-shadow:0 3px 8px #2c473115;border-radius:3px}.paper-art:before{content:'';position:absolute;left:9px;right:9px;top:21px;height:1px;background:#e7ebe6;box-shadow:0 6px #e7ebe6,0 12px #e7ebe6}.paper-art span{font:700 7px 'DM Sans';color:#61816a;position:absolute;left:8px;top:7px}.paper-art span+span{top:45px;left:36px;color:#af9470}.paper-art i{position:absolute;right:6px;top:5px;font-size:10px;color:#c6a768}.directory-panel{background:#fff;border:1px solid #e6e8e3;border-radius:7px;margin-top:17px}.directory-head{padding:17px 18px 12px;display:flex;align-items:center;justify-content:space-between}.directory-head h2{margin:0;font:600 16px var(--serif);color:#2c3a32}.directory-head h2 span{font:500 9px 'DM Sans';color:#818b83;background:#f1f3f0;border-radius:9px;padding:3px 6px;margin-left:5px;vertical-align:2px}.directory-head p{margin:4px 0 0;color:#929a94;font-size:10px}.text-button{border:0;background:transparent;color:#68766d;font:500 10px var(--sans);cursor:pointer}.text-button span{margin-left:5px}.toolbar{padding:0 18px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px}.search-box{width:min(390px,52%);height:32px;border:1px solid #e3e6e1;border-radius:5px;display:flex;align-items:center;padding:0 9px;gap:7px;color:#95a098}.search-box>span{font-size:19px;line-height:1;transform:rotate(-20deg)}.search-box input{border:0;outline:0;min-width:0;flex:1;color:#38473e;font:10px var(--sans);background:none}.search-box input::placeholder{color:#a4aca6}.search-box kbd{font:9px 'DM Sans';color:#a9b0ab;background:#f7f8f6;border:1px solid #ebece9;border-radius:3px;padding:2px 4px}.toolbar-right{display:flex;align-items:center;gap:8px}.filter-button{height:31px;background:white;border:1px solid #e2e5e0;border-radius:5px;padding:0 10px;color:#68756d;font:10px var(--sans);cursor:pointer}.filter-button span{font-size:14px;margin-right:4px}.filter-badge{background:#e9f0ea;color:#39644a;border-radius:8px;padding:2px 5px;margin-left:3px}.hidden{display:none!important}.view-switch{border:1px solid #e3e6e1;border-radius:5px;display:flex;padding:2px;height:31px}.view-switch button{border:0;background:transparent;color:#a0a8a2;width:26px;border-radius:3px}.view-switch button.selected{background:#edf2ee;color:#4e6b57}.button-small{padding:7px 10px;font-size:10px}.filter-row{margin:0 18px 10px;display:flex;align-items:center;gap:7px;color:#8b958e;font-size:9px}.chip{border:1px solid #e7eae5;color:#79847c;background:white;border-radius:12px;padding:4px 9px;font:9px var(--sans);cursor:pointer}.chip.active{background:#eaf1ec;color:#3a6749;border-color:#eaf1ec}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}thead{background:#f8f9f7}th{text-align:left;color:#929a94;font-size:9px;font-weight:500;padding:9px 10px;border-top:1px solid #f0f1ef;border-bottom:1px solid #eceeea}td{padding:10px 10px;border-bottom:1px solid #f0f1ef;color:#68746c;font-size:10px}tbody tr{transition:background .15s}tbody tr:hover{background:#fafbf9}th:first-child,td:first-child{padding-left:18px;width:34px}th:last-child,td:last-child{padding-right:18px}.check-col input,.row-check{accent-color:#35674c;width:12px;height:12px}.sort{color:#b2b9b3;font-size:11px;margin-left:3px}.company-cell{display:flex;align-items:center;gap:9px;min-width:170px}.company-logo{width:28px;height:28px;border-radius:6px;display:grid;place-items:center;font-size:10px;font-weight:600;flex:none}.company-name{color:#37453c;font-size:10px;font-weight:600}.company-sub{font-size:8px;color:#a0a7a2;margin-top:3px}.contact-name{color:#4d5a51}.contact-detail{display:block;font:9px 'DM Sans';color:#9ca59e;margin-top:3px}.industry-cell{color:#818a84}.status-pill{display:inline-flex;align-items:center;gap:5px;border-radius:10px;padding:4px 7px;font-size:8px}.status-pill:before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}.status-follow{color:#a27c3d;background:#f7f2e8}.status-won{color:#4c7859;background:#edf4ee}.status-wait{color:#76828a;background:#f0f2f3}.last-contact{color:#7b867e}.owner-cell{display:flex;align-items:center;gap:6px;color:#78837b}.owner-avatar{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#edf0ea;color:#647861;font-size:8px}.row-menu{border:0;background:transparent;color:#9da69f;font-size:14px;cursor:pointer}.table-footer{padding:11px 18px;display:flex;align-items:center;justify-content:space-between;color:#98a09a;font-size:9px}.table-footer strong{font-weight:500;color:#68746c}.pagination{display:flex;align-items:center;gap:3px}.pagination button{background:#fff;border:1px solid #e7e9e6;width:24px;height:23px;border-radius:4px;color:#7d8980;font:9px var(--sans);cursor:pointer}.pagination button:disabled{color:#c2c8c3}.pagination button.page-active{background:#edf3ef;color:#356349;border-color:#edf3ef}.pagination>span{padding:0 4px}.pagination select{border:1px solid #e7e9e6;border-radius:4px;background:white;color:#78837c;font:9px var(--sans);padding:5px;margin-left:6px}.app-footer{display:flex;justify-content:space-between;padding:16px 2px 22px;color:#a1a8a2;font-size:9px}.app-footer i{font-style:normal;padding:0 4px;color:#bcc2bc}.app-footer b{font-weight:400;margin-left:4px}.empty-state{text-align:center;padding:35px;color:#99a29b;font-size:11px}.empty-state b{display:block;font:600 18px var(--serif);color:#526057;margin-bottom:5px}.toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%,15px);opacity:0;pointer-events:none;background:#263a30;color:#fff;border-radius:5px;padding:10px 14px;font-size:11px;box-shadow:0 6px 20px #18281f22;transition:.25s;z-index:15}.toast.show{opacity:1;transform:translate(-50%,0)}.drawer-backdrop,.dialog-shade{position:fixed;inset:0;background:#14221a50;opacity:0;pointer-events:none;transition:opacity .22s;z-index:5}.drawer{position:fixed;right:0;top:0;bottom:0;width:min(480px,100%);background:#fff;z-index:6;transform:translateX(100%);transition:transform .28s ease-out;display:flex;flex-direction:column;box-shadow:-12px 0 32px #20342712}.drawer.open{transform:translateX(0)}.drawer-backdrop.open,.dialog-shade.open{opacity:1;pointer-events:auto}.drawer-head{padding:22px 24px 17px;border-bottom:1px solid #e9ebe7;display:flex;justify-content:space-between;align-items:center}.drawer-head h2,.import-dialog h2{font:600 22px var(--serif);margin:4px 0 0;color:#2a3830}.close-button{border:0;background:none;color:#89938c;font-size:23px;cursor:pointer}.drawer-body{padding:18px 24px;overflow:auto;flex:1}.form-section-title{font-size:11px;font-weight:600;color:#405047;margin:0 0 15px;display:flex;justify-content:space-between}.form-section-title span{font-weight:400;color:#a0a8a2;font-size:9px}.field-label{display:block;font-size:10px;color:#69766d;margin-bottom:13px}.field-label em{font-style:normal;color:#b57657}.field-label input,.field-label select,.field-label textarea{display:block;width:100%;margin-top:6px;border:1px solid #e2e6e1;border-radius:5px;background:#fff;padding:9px 10px;font:10px var(--sans);color:#3c4a41;outline:none}.field-label input:focus,.field-label select:focus,.field-label textarea:focus{border-color:#8daa94;box-shadow:0 0 0 2px #e9f1eb}.field-label input::placeholder,.field-label textarea::placeholder{color:#b2bab4}.field-label textarea{resize:vertical;min-height:68px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:11px}.drawer-footer{border-top:1px solid #e9ebe7;padding:14px 24px;display:flex;justify-content:flex-end;gap:8px}.source-note{background:#eef5ef;color:#52745a;padding:9px 10px;border-radius:5px;font-size:10px;margin-bottom:16px}.import-dialog{position:fixed;z-index:9;top:50%;left:50%;width:min(430px,calc(100% - 32px));background:#fff;border-radius:9px;padding:28px 30px 25px;transform:translate(-50%,-47%) scale(.98);opacity:0;pointer-events:none;transition:.2s;box-shadow:0 22px 60px #20342728}.import-dialog.open{opacity:1;transform:translate(-50%,-50%) scale(1);pointer-events:auto}.import-close{position:absolute;right:15px;top:12px}.dialog-icon{width:36px;height:36px;background:#eef4ef;border-radius:8px;display:grid;place-items:center;color:#547b5c;font-size:18px;margin-bottom:17px}.import-dialog h2{font-size:21px}.import-dialog>p{font-size:10px;color:#89938c;line-height:1.7;margin:8px 0 18px}.drop-zone{border:1px dashed #cdd8cf;border-radius:7px;background:#fafcf9;padding:22px 12px;text-align:center;display:flex;align-items:center;flex-direction:column;gap:8px;transition:.16s}.drop-zone.dragover{background:#eef5ef;border-color:#719078}.upload-glyph{font-size:20px;color:#64836a}.drop-zone strong{font-size:10px;font-weight:500;color:#5c6960}.drop-zone strong button{border:0;background:none;padding:0;color:#3f704d;font:600 10px var(--sans);text-decoration:underline;cursor:pointer}.drop-zone small{font-size:9px;color:#a2aaa4}.file-state{font-size:9px;color:#517453}.privacy-line{color:#9da69f;font-size:9px;margin:13px 0 16px}.privacy-line span{color:#829580;margin-right:4px}.dialog-action{width:100%;display:flex;align-items:center;justify-content:center;gap:7px;padding:10px}.dialog-action:disabled{background:#e6ebe7;border-color:#e6ebe7;color:#a2aca4;cursor:not-allowed}.dialog-action span{font-size:14px}.dialog-shade{z-index:8}@media(max-width:1100px){.main-area{padding:0 26px}.sidebar{width:205px}.main-area{margin-left:205px;width:calc(100% - 205px)}.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.summary-card{height:118px}}@media(max-width:760px){.sidebar{width:58px;padding:20px 8px}.brand{padding:0;justify-content:center}.brand>span:last-child,.workspace,.nav-label,.nav-item:not(.active),.nav-item.active{font-size:0}.brand-mark{width:35px}.nav-list{margin-top:30px}.nav-item{justify-content:center;padding:0}.nav-count{display:none}.nav-icon{font-size:16px}.sidebar-bottom .help-card,.profile-copy,.more{display:none}.profile{justify-content:center;padding-top:12px}.main-area{margin-left:58px;width:calc(100% - 58px);padding:0 14px}.topbar{height:52px}.today{display:none}.page-heading{align-items:flex-start;padding:22px 0 17px;gap:10px}.page-heading h1{font-size:23px}.page-heading p{max-width:210px;line-height:1.6}.heading-actions{flex-direction:column}.heading-actions .button{padding:7px 9px;font-size:9px}.summary-grid{gap:8px}.summary-card{padding:12px;height:112px}.upload-summary{padding:14px 10px;gap:7px}.paper-art{opacity:.45;right:4px}.upload-copy span{max-width:110px;line-height:1.5}.directory-head{padding:14px 12px 10px}.toolbar{padding:0 12px 10px;flex-wrap:wrap}.search-box{width:100%}.toolbar-right{width:100%;justify-content:flex-end}.view-switch{display:none}th,td{padding:9px 8px}th:first-child,td:first-child{padding-left:12px}.directory-panel{margin-top:10px}.table-footer{padding:10px 12px}.table-footer>span{font-size:8px}.pagination{gap:2px}.pagination select{display:none}.app-footer{padding-bottom:15px}.drawer{width:min(440px,calc(100% - 58px))}}@media(max-width:420px){.summary-grid{grid-template-columns:1fr 1fr}.summary-foot{font-size:8px}.foot-note{display:none}.heading-actions .button{font-size:0}.heading-actions .button span{font-size:15px}.heading-actions{flex-direction:row}.page-heading{align-items:center}.directory-head p{max-width:190px;line-height:1.5}.pagination button:nth-of-type(4),.pagination button:nth-of-type(5),.pagination>span{display:none}.field-row{gap:7px}.drawer-head,.drawer-body{padding-left:17px;padding-right:17px}.drawer-footer{padding:12px 17px}}

/* YAJU Japan brand and customer detail view */
.brand{letter-spacing:.025em;font:700 14px 'DM Sans',var(--sans)}.brand-mark{background:#9d2025;font:700 15px 'DM Sans',sans-serif}.workspace-dot{background:#9d2025}.nav-item.active{background:#f8e9e9;color:#8f1d22}.nav-count{color:#9d2025}.trend{color:#9d2025}.summary-symbol{color:#9d2025}.upload-icon{color:#9d2025;background:#f8e9e9}.upload-copy button{color:#9d2025}.company-row{cursor:pointer}.customer-row{cursor:pointer}.customer-row:focus{outline:2px solid #c76a6e;outline-offset:-2px}.extra-title{padding-top:6px;border-top:1px solid #eceeea;margin-top:4px}.detail-view{min-height:0;flex:1;display:flex;flex-direction:column}.detail-scroll{padding:20px 24px;overflow:auto;flex:1}.detail-identity{display:flex;align-items:center;gap:12px;padding:4px 0 20px;border-bottom:1px solid #eceeea}.detail-avatar{width:48px;height:48px;border-radius:10px;background:#f8e9e9;color:#9d2025;display:grid;place-items:center;font:600 21px var(--serif)}.detail-identity h3{font:600 16px var(--serif);margin:0 0 5px;color:#303b34}.detail-person{font-size:10px;color:#89938c}.detail-identity .status-pill{margin-left:auto}.detail-section{padding:18px 0;border-bottom:1px solid #eceeea}.detail-section h4{font-size:11px;color:#46534b;margin:0 0 14px;font-weight:600}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px 18px}.detail-grid>div{min-width:0}.detail-grid .wide{grid-column:1/-1}.detail-grid small{display:block;font-size:9px;color:#98a099;margin-bottom:5px}.detail-grid strong{display:block;font-weight:500;font-size:10px;color:#49564e;line-height:1.65;word-break:break-word}.resume-heading{display:flex;justify-content:space-between;align-items:flex-start}.resume-heading h4{margin-bottom:4px}.resume-heading p{margin:0;color:#98a099;font-size:9px}.resume-file{display:flex;align-items:center;gap:9px;padding:10px;border:1px solid #e7eae6;border-radius:6px;margin-top:13px}.resume-file-icon{width:30px;height:34px;background:#f8e9e9;color:#9d2025;border-radius:4px;display:grid;place-items:center;font:700 8px 'DM Sans'}.resume-file-name{font-size:9px;color:#526057;flex:1;overflow:hidden;text-overflow:ellipsis}.resume-placeholder{font-size:8px;color:#a0a8a2}.resume-empty{min-height:140px;border:1px dashed #dfe4df;background:#fbfcfa;border-radius:6px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:#96a097;margin-top:12px}.resume-empty>span{font-size:21px;color:#b27679}.resume-empty strong{font-size:10px;font-weight:500;color:#647168}.resume-empty small{font-size:9px}.resume-empty .button{margin-top:3px}.resume-preview{white-space:pre-wrap;background:#fafbf9;border:1px solid #eceeea;padding:12px;margin-top:10px;max-height:240px;overflow:auto;font-size:10px;line-height:1.7;color:#5f6b63}.detail-footer{justify-content:space-between}.status-follow{color:#986e39;background:#f7f2e8}.status-won{color:#4c7859;background:#edf4ee}.status-wait{color:#76828a;background:#f0f2f3}
.resume-preview iframe{display:block;width:100%;height:360px;border:0;background:#f4f5f3}
.optional-label{font-size:9px;color:#9da69f;font-weight:400;margin-left:5px}
.followup-alert{min-height:42px;margin:-8px 0 14px;padding:8px 11px;background:#fbefef;border:1px solid #f0dcdc;border-radius:6px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#7d292d}.alert-copy{display:flex;align-items:center;gap:8px;font-size:10px}.alert-mark{width:18px;height:18px;border-radius:50%;display:grid;place-items:center;background:#f2d9da;color:#9d2025;font-weight:700}.alert-copy strong{font:600 13px 'DM Sans',sans-serif;color:#9d2025}.alert-copy button,.notification-opt{border:0;background:transparent;color:#9d2025;font:600 9px var(--sans);cursor:pointer}.alert-copy button b{font-size:12px;margin-left:3px}.notification-opt{padding:6px 8px;border:1px solid #e8c8ca;border-radius:4px;white-space:nowrap}.notification-opt:hover{background:#f7e5e5}.notification-opt:disabled{color:#718579;border-color:#dce5dd;cursor:default;background:#f1f5f1}.reminder-chip{color:#9d2025}.overdue-tag{display:block;color:#9d2025;font-size:8px;margin-top:3px}.customer-row:has(.overdue-tag){background:#fffdfd}.customer-row:has(.overdue-tag):hover{background:#fff8f8}@media(max-width:760px){.followup-alert{align-items:flex-start}.alert-copy{flex-wrap:wrap;gap:6px}.alert-copy>span:nth-of-type(2){flex-basis:calc(100% - 26px);margin-left:24px}.alert-copy button{margin-left:24px}.notification-opt{font-size:8px;padding:6px}.followup-alert{margin-top:-4px}}
.directory-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:5px 12px;max-width:620px}.directory-actions .text-button{font-size:9px;padding:3px}.directory-head #dataFileStatus{font-size:9px;color:#a1a8a2;margin-left:5px}.reminder-setting{display:flex;align-items:center;gap:5px;color:#89928c;font-size:9px;white-space:nowrap}.reminder-setting select{height:30px;border:1px solid #e2e5e0;border-radius:5px;background:#fff;color:#67746b;font:9px var(--sans);padding:0 7px;outline:none}.reminder-setting select:focus{border-color:#bd8183}.directory-head{align-items:flex-start}.directory-head>div:first-child{min-width:160px}@media(max-width:900px){.directory-actions{max-width:420px;gap:4px 8px}.directory-actions .text-button{font-size:8px}}@media(max-width:760px){.directory-head{flex-direction:column;gap:8px}.directory-actions{justify-content:flex-start;max-width:100%}.toolbar-right{flex-wrap:wrap}.reminder-setting{flex:1 0 auto}.reminder-setting select{flex:1}.directory-head #dataFileStatus{display:block;margin:4px 0 0}}
.status-select{appearance:none;-webkit-appearance:none;border:0;border-radius:12px;padding:5px 22px 5px 10px;font:500 10px var(--sans);cursor:pointer;outline:none;background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);background-position:calc(100% - 10px) 50%,calc(100% - 7px) 50%;background-size:3px 3px,3px 3px;background-repeat:no-repeat}.status-select:hover{filter:brightness(.97)}.status-select:focus-visible{box-shadow:0 0 0 2px #d99b9e}.status-select.status-wait{color:#76828a;background-color:#f0f2f3}.status-select.status-follow{color:#986e39;background-color:#f7f2e8}.status-select.status-won{color:#4c7859;background-color:#edf4ee}
.case-label{display:inline-block;margin-left:7px;padding:2px 6px;border-radius:3px;background:#f4f0e7;color:#917341;font-size:8px;font-weight:500;vertical-align:1px}.case-row{background:#fffdf9}.case-row:hover{background:#fffaf0}.delete-case{border:0;background:transparent;color:#9d2025;padding:5px 7px;font:500 9px var(--sans);cursor:pointer}.delete-case:hover{text-decoration:underline}
.drawer #editView{display:flex;flex:1;flex-direction:column;min-height:0}.drawer #editView.hidden{display:none!important}.drawer #editView .drawer-body{flex:1;min-height:0}.drawer #editView .drawer-footer{flex:0 0 auto;position:relative;background:#fff;z-index:1}
.reminder-control-row{margin:0 18px 13px;padding:10px 12px;border:1px solid #f0dddd;border-radius:6px;background:#fffafa;display:flex;align-items:center;justify-content:space-between;gap:12px}.reminder-control-copy{display:flex;align-items:center;gap:9px}.reminder-control-icon{width:27px;height:27px;border-radius:6px;background:#f8e9e9;color:#9d2025;display:grid;place-items:center;font-size:16px}.reminder-control-copy strong{display:block;color:#78393b;font-size:10px;font-weight:600}.reminder-control-copy small{display:block;color:#a07c7e;font-size:9px;margin-top:3px}.reminder-control-row .reminder-setting{color:#8b4447;font-weight:600;font-size:10px}.reminder-control-row .reminder-setting select{height:32px;border-color:#e9c6c8;color:#8f2429;background-color:#fff;font-size:10px;padding:0 10px}.reminder-control-row .reminder-setting select:focus{border-color:#b94b50;box-shadow:0 0 0 2px #f8e9e9}@media(max-width:480px){.reminder-control-row{margin:0 12px 11px;align-items:flex-start}.reminder-control-copy small{max-width:180px;line-height:1.45}.reminder-control-row .reminder-setting{flex-direction:column;align-items:flex-start;gap:4px}.reminder-control-row .reminder-setting select{width:95px}}
.row-reminder{display:flex;align-items:center;gap:4px;margin-top:5px;color:#9b7778;font-size:8px}.customer-reminder-select{height:21px;border:1px solid #eadcdb;border-radius:4px;padding:0 5px;background:#fff;color:#805153;font:8px var(--sans);cursor:pointer}.customer-reminder-select:focus-visible{outline:2px solid #e8babc;outline-offset:1px}.field-hint{display:block;color:#9da59f;font-size:9px;margin-top:4px}
.auth-overlay{position:fixed;inset:0;background:#f5f6f3ee;z-index:30;display:grid;place-items:center;padding:20px}.auth-card{width:min(390px,100%);background:#fff;border:1px solid #e6e8e3;border-radius:12px;padding:32px;box-shadow:0 18px 55px #1e30251a}.auth-card .brand-mark{margin-bottom:22px}.auth-card h1{font:600 24px var(--serif);color:#2a3830;margin:8px 0}.auth-card>p{font-size:11px;color:#8b958e;margin:0 0 20px}.auth-card .button{width:100%;justify-content:center;margin-top:4px}.auth-error{color:#b33a3a!important;min-height:16px;margin:0 0 7px!important}.user-dialog{position:fixed;z-index:12;top:50%;left:50%;width:min(600px,calc(100% - 28px));max-height:85vh;overflow:auto;background:#fff;border-radius:10px;padding:28px;transform:translate(-50%,-48%);opacity:0;pointer-events:none;transition:.2s;box-shadow:0 22px 60px #20342728}.user-dialog.open{opacity:1;transform:translate(-50%,-50%);pointer-events:auto}.user-dialog h2{font:600 22px var(--serif);color:#2a3830;margin:5px 0}.user-dialog>p{font-size:10px;color:#89938c;line-height:1.6}.user-close{position:absolute;right:15px;top:12px}.user-table{margin:15px 0 20px;border-top:1px solid #edf0ec}.user-row{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px 0;border-bottom:1px solid #edf0ec}.user-row strong,.user-row small{display:block}.user-row strong{font-size:11px;color:#3d4b42}.user-row small{font-size:9px;color:#89938c;margin-top:4px}.user-row>div:last-child{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}.user-row button{border:1px solid #e2e6e1;border-radius:4px;background:#fff;color:#68756d;font:9px var(--sans);padding:6px 7px;cursor:pointer}.user-dialog form{border-top:1px solid #edf0ec;padding-top:15px}.user-dialog h3{font-size:12px;color:#405047;margin:0 0 12px}.user-dialog form .button{width:100%;justify-content:center}.user-hint{margin-bottom:0!important}.user-dialog .field-label{margin-bottom:10px}
.auth-overlay{background:#f4f5f3;backdrop-filter:blur(12px)}.auth-card>p#authDescription{line-height:1.8}.auth-card #loginFields{display:block}

.detail-grid strong{white-space:pre-line}
.pagination-wrap{display:flex;align-items:center;gap:10px}.current-page-label{color:#7c877f;font-size:9px;white-space:nowrap}.pagination{flex-wrap:wrap}.pagination select{white-space:nowrap}
@media(max-width:600px){.table-footer{align-items:flex-start;gap:10px;flex-direction:column}.pagination-wrap{width:100%;justify-content:space-between}.current-page-label{font-size:8px}.pagination select{display:block;margin-left:3px;padding:5px 3px}}
.trend.down{color:#9b6666}
