:root{--company-green:#237347;--company-dark:#153f31;--company-soft:#eff6f0;--company-gold:#eeb176;--accent:#237347;--ink:#203b32;--muted:#718079;--border:#e3ebe5}
body>header a{color:#235a3b}body>header .permission-back{display:inline-flex;align-items:center;min-height:44px;padding:9px 15px;border:1px solid #bfd4c4;border-radius:10px;background:#edf5ee;color:#1d5837;font-weight:bold;text-decoration:none}#workspace-link{padding:10px 14px;border:1px solid #d5e1d8;border-radius:9px;text-decoration:none}
.assignment-panel{padding:22px}.assignment-controls{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin:18px 0}.assignment-controls label{display:grid;gap:6px}.assignment-controls select{min-width:220px;padding:12px;border:1px solid #c8dacd;border-radius:9px}.assignment-panel input[type=checkbox]{width:20px;height:20px;accent-color:#237347}.assignment-select-all{display:flex;align-items:center;gap:10px;margin:16px 0}#assignment-search{width:min(480px,100%);padding:12px;border:1px solid #c8dacd;border-radius:9px}#assignment-status{color:#245a3a}#assignment-list td:last-child{min-width:140px}
body{font-family:'Malgun Gothic','Segoe UI',sans-serif;background:#f3f6f3;color:#203b32;line-height:1.6}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #97c86c;outline-offset:3px}button:disabled{cursor:wait;opacity:.6}
.company-logo,.brand img{width:175px;height:51px;object-fit:contain;background:white;border-radius:8px}.brand{height:95px;padding:18px 12px}.sidebar{background:#fff;border-right:1px solid #e1e9e3}.workspace-switcher{background:#f1f6f2;border:1px solid #e5ece6;border-radius:14px}.workspace-switcher strong{color:#24593f}.nav-item.active,.main-nav a:hover{background:#eaf3ec;color:#1c643e;border-radius:12px}.primary-button{background:linear-gradient(135deg,#287c4e,#1b5a3b)!important;color:white!important;border:0!important;box-shadow:0 4px 10px #22623e18}.secondary-button{background:white;border:1px solid #d5e1d8!important;color:#345844;border-radius:9px!important}.primary-button,.secondary-button{padding:10px 14px;font-size:14px!important;min-height:42px}.page-heading h1{letter-spacing:-1px;line-height:1.4}.panel,.metric-card{border:1px solid #e2eae3;border-radius:18px;box-shadow:0 5px 24px #203b3206}.metric-grid{gap:18px}.metric-card{background:linear-gradient(150deg,#fff,#f6f9f5)}.metric-card strong{color:#20563b}.topbar{background:#ffffffeb;border-bottom:1px solid #e3ebe4}.table-wrap{border-radius:14px}thead{background:#f2f7f3}td{vertical-align:middle}td:last-child{min-width:255px}td button{margin:3px}td small{display:block}.modal{border-radius:22px;box-shadow:0 25px 90px #102e3426}.status.visited{background:#e7f3e9;color:#267344}.status.overdue{background:#fff0dc;color:#985a1c}[data-cancel]{border-color:#e8b9a5!important;color:#a4482c!important;background:#fff8f3!important}.due-banner{background:#fff2df;color:#83551d;border-radius:12px}.toast{background:#1d4935;color:white}.company-notification{padding:12px 22px;background:#e8f2e9;color:#2a593d;font-size:13px;border-top:1px solid #d5e5d7;display:flex;gap:14px;align-items:center;flex-wrap:wrap}.company-notification button{background:#267346;color:white;border:0;border-radius:8px;padding:8px 14px}
.customer-detail{width:min(850px,94vw);max-height:90vh;padding:0;border:1px solid #dce6de;border-radius:22px;color:#203b32;box-shadow:0 30px 100px #102d3440}.customer-detail::backdrop{background:#152c3866;backdrop-filter:blur(3px)}.customer-detail header{display:flex;justify-content:space-between;align-items:center;padding:22px 28px;background:#f0f6f0;color:#254b37;position:sticky;top:0;z-index:1}.customer-detail h2{margin:4px 0;font-size:23px}.customer-detail header small{letter-spacing:2px}.detail-body{padding:0 28px 24px}.detail-body section{padding:18px 0;border-bottom:1px solid #e3ebe4}.detail-body form{display:grid;gap:12px;margin-top:14px}.detail-body label{display:grid;gap:6px;font-size:14px}.detail-body input,.detail-body textarea,.detail-body select{width:100%;box-sizing:border-box;padding:11px;border:1px solid #d6e1d8;border-radius:10px;background:white}.customer-detail button{border:1px solid #d5e1d8;background:#fff;color:#235a3b;border-radius:9px;padding:9px 15px;min-height:42px}.detail-body form>button:first-of-type{background:#267346;color:white;justify-self:start}.detail-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1.3fr;gap:12px}.detail-note{background:#f6f8f5;padding:14px 17px;border-radius:12px;margin:10px 0}.detail-note p,.insight-note{white-space:pre-wrap;overflow-wrap:anywhere}.detail-note small,.detail-hint,.detail-product small{color:#718079}.detail-product{display:flex;gap:12px;align-items:center;padding:15px 0;border-bottom:1px solid #edf1eb}.detail-product>div{flex:1}.detail-product p{margin:3px 0}#detail-message{margin:10px 28px;color:#267346}
body>header{background:white;color:#203b32;border-bottom:1px solid #e0e9e2;gap:16px}body>header h1{font-size:23px}#workspace{max-width:1400px;margin:25px auto;padding:0 22px}#workspace nav{gap:8px;background:white;padding:12px;border:1px solid #e0e9e2;border-radius:16px}#workspace nav button,#workspace nav a{border-radius:10px;padding:10px 14px}#workspace nav .active{background:#237347;color:white}.tab{background:#fff;border:1px solid #e0e9e2;border-radius:18px;padding:24px;margin-top:20px}.cards article{border-radius:14px;background:#f0f6f0;border:1px solid #e2eae2}.record{border-bottom:1px solid #e8eee8;padding:16px 4px}.account-page{background:radial-gradient(ellipse at top left,#e5efdf,transparent 60%),#f5f7f3}.account-page>header{background:transparent;border:0}.account-page h1{display:flex;gap:20px;align-items:center}.account-page #auth{border:1px solid #dfe9df;box-shadow:0 20px 65px #264d3210;border-radius:22px}.account-page #account-submit{background:#237347}.account-links a[aria-current=page]{color:#237347;border-color:#237347}.insight-card{border:1px solid #e0e9e2;border-radius:14px;padding:18px;margin:12px 0}.insight-card small{display:block;color:#718079}.insight-product{background:#eef5eb;padding:8px 12px;border-radius:8px}.insight-note{border-left:3px solid #b0ce9a;padding-left:12px}#assign-form{display:flex;gap:12px;align-items:end;flex-wrap:wrap;padding:16px;background:#f1f6ef;border-radius:12px;margin:15px 0}#insight-search{width:min(500px,100%)}
@media(max-width:650px){.detail-grid{grid-template-columns:1fr 1fr}.customer-detail header,.detail-body{padding:16px}.detail-product{flex-wrap:wrap}.detail-product>div{flex-basis:100%}.company-notification{padding:12px 16px}.page-heading h1{font-size:24px}.account-page h1{flex-direction:column}body>header{flex-wrap:wrap}#workspace{padding:0 12px}.tab{padding:16px}.company-logo{width:140px;height:auto}}
