:root{--ink:#202a25;--muted:#758079;--green:#31694b;--green-dark:#24563c;--line:#e4e9e3;--paper:#fff;--wash:#f6f7f4;--sage:#e3eee6;--serif:Georgia,"Times New Roman",serif}
*{box-sizing:border-box}
body{margin:0;background:var(--wash);color:var(--ink);font-family:"DM Sans",sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button,input,textarea{font:inherit}
.brand{display:inline-flex;align-items:center;gap:8px;font-family:"Manrope",sans-serif;font-size:18px;font-weight:800;letter-spacing:-.7px;color:var(--ink)}
.brand>span:last-child{font-weight:500;color:#67736b;margin-left:-7px}
.brand-mark{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:var(--green);color:white;font-family:Georgia,serif;font-size:18px;font-weight:400;letter-spacing:0}
.auth-shell{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;padding:20px;gap:20px}
.auth-card{display:flex;flex-direction:column;justify-content:center;width:min(440px,100%);margin:0 auto;padding:58px 12px}
.auth-card>.brand{margin-bottom:62px}
.auth-intro{margin-bottom:27px}
.eyebrow{margin:0 0 11px;color:#778179;font-size:10px;font-weight:700;letter-spacing:1.55px}
.auth-intro h1,.welcome-row h1{font-family:"Manrope",sans-serif;font-size:38px;line-height:1.17;letter-spacing:-1.8px;margin:0 0 12px;font-weight:700}
.auth-intro>p:last-child{margin:0;color:var(--muted);font-size:14px;line-height:1.7;max-width:350px}
.form-stack{display:flex;flex-direction:column;gap:17px}
.form-stack label{display:flex;flex-direction:column;gap:8px;color:#39443d;font-size:12px;font-weight:600}
.form-stack input:not([type=hidden]):not([type=file]),.form-stack textarea{width:100%;border:1px solid #e0e5df;border-radius:8px;background:#fff;padding:12px 13px;color:var(--ink);outline:none;transition:border .15s,box-shadow .15s}
.form-stack input:focus,.form-stack textarea:focus,.search-form input:focus{border-color:#86a791;box-shadow:0 0 0 3px #31694b12}
.form-stack input::placeholder,.form-stack textarea::placeholder{color:#a1aaa3;font-weight:400}
.form-stack small{font-size:10px;color:#929b94;font-weight:400}
.button{border:0;border-radius:8px;cursor:pointer;font-weight:600;transition:background .15s,transform .15s}
.button:hover{transform:translateY(-1px)}
.button-primary{background:var(--green);color:#fff;padding:13px 15px}
.button-primary:hover{background:var(--green-dark)}
.button-wide{width:100%;display:flex;align-items:center;justify-content:space-between;margin-top:3px}
.button-wide span{font-size:18px;font-weight:400}
.auth-switch{margin:22px 0 0;text-align:center;color:#79837c;font-size:12px}
.auth-switch a{color:var(--green);font-weight:700}
.auth-foot{display:flex;justify-content:center;gap:9px;margin-top:45px;color:#9aa39c;font-size:10px}
.notice{padding:12px 14px;border-radius:8px;margin-bottom:18px;font-size:12px;line-height:1.5}
.notice-error{background:#fff0ed;color:#9c4437;border:1px solid #f4d8d1}
.notice-success{background:#edf5ef;color:#31694b;border:1px solid #d6e8d9}
.auth-art{position:relative;overflow:hidden;min-height:calc(100vh - 40px);border-radius:16px;background:#e8eee8;display:flex;align-items:center;justify-content:center;padding:56px}
.art-glow{position:absolute;width:570px;height:570px;border-radius:50%;background:radial-gradient(circle,#f9faf5 0,#f0f3ed 48%,transparent 69%);top:9%;left:10%}
.art-copy{position:relative;z-index:1;margin-top:-72px}
.art-tag{font-size:9px;letter-spacing:1.65px;font-weight:700;color:#738077;display:flex;align-items:center;gap:8px}
.art-tag>span,.live-dot{height:6px;width:6px;background:#588467;border-radius:50%;display:inline-block}
.art-copy h2{font-family:"Manrope",sans-serif;font-size:clamp(43px,5.2vw,72px);line-height:1.1;letter-spacing:-3.8px;margin:25px 0 15px;color:#25332a}
.art-copy h2 em,.welcome-row h1 em{font-family:var(--serif);font-weight:400;color:#477453;letter-spacing:-2px}
.art-copy>p{font-size:13px;color:#78837b;line-height:1.7;max-width:300px}
.art-card{z-index:2;position:absolute;bottom:15%;right:13%;width:255px;padding:17px 18px;border:1px solid #ffffffa6;border-radius:12px;background:#ffffffd9;box-shadow:0 20px 50px #5262501a;backdrop-filter:blur(8px)}
.art-card-top{display:flex;align-items:center;gap:10px}.art-card-top>div{display:grid;gap:4px}.art-card-top strong{font-size:11px}.art-card-top small{font-size:9px;color:#8a938c}.art-more{margin-left:auto;color:#8b958d;letter-spacing:2px;font-size:11px}
.avatar{flex:0 0 38px;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;font-family:"Manrope",sans-serif;font-size:14px;font-weight:700}
.avatar-peach{background:#f4e3d8;color:#9f6548}.avatar-sage{background:#e2eee4;color:#477453}.avatar-blue{background:#e0eaf0;color:#55718a}.avatar-lilac{background:#ebe5f2;color:#78628c}
.art-card-line{height:1px;background:#edf0eb;margin:16px 0 12px}.art-card-bottom{display:flex;justify-content:space-between;align-items:center}.art-card-bottom>span{font-size:8px;letter-spacing:1px;color:#9aa29b}.art-card-bottom strong{font-size:10px}.green-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#76a77d;margin-left:4px}
.art-orbit{position:absolute;border:1px solid #d5dfd5;border-radius:50%;width:420px;height:420px;right:-170px;top:-175px}.orbit-two{width:550px;height:550px;right:-232px;top:-242px}
.art-footnote{position:absolute;bottom:34px;left:45px;color:#8c968d;font-family:var(--serif);font-style:italic;font-size:12px}
.app-shell{min-height:100vh}.topbar{height:68px;padding:0 max(calc((100vw - 1180px)/2),32px);display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid #edf0eb}
.topbar-right{display:flex;align-items:center;gap:21px}.secure-label{font-size:9px;font-weight:700;letter-spacing:1.1px;color:#8b958d}.secure-icon{color:#50805d;font-size:13px;margin-right:5px}.user-chip{display:flex;align-items:center;gap:9px;font-size:11px;font-weight:600}.user-chip .avatar{width:29px;height:29px;flex-basis:29px;font-size:11px}.text-button{border:0;background:none;color:#718077;cursor:pointer;font-size:11px}.text-button:hover,.edit-link:hover{color:var(--green);text-decoration:underline}
.workspace{max-width:1180px;margin:0 auto;padding:48px 32px 25px}.welcome-row{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:36px}.welcome-row h1{font-size:43px;letter-spacing:-2px;line-height:1.12;margin-bottom:10px}.welcome-row h1 em{letter-spacing:-1.5px}.welcome-row .eyebrow{display:flex;align-items:center;gap:8px}.welcome-sub{margin:0;color:#7a857d;font-size:13px}
.summary-card{display:flex;align-items:center;gap:14px;min-width:215px;padding:15px 18px;background:#fff;border:1px solid var(--line);border-radius:10px;margin-bottom:3px}.summary-icon{width:31px;height:31px;border-radius:8px;background:#edf4ee;display:grid;place-items:center;color:#4f805e;font-size:18px}.summary-card>div:nth-child(2){display:grid;gap:2px}.summary-card strong{font-family:"Manrope",sans-serif;font-size:19px}.summary-card>div:nth-child(2)>span{font-size:10px;color:#838d85}.summary-spark{height:28px;display:flex;align-items:flex-end;gap:3px;margin-left:auto}.summary-spark i{width:3px;border-radius:3px;background:#bdd3c0;height:35%}.summary-spark i:nth-child(2){height:58%}.summary-spark i:nth-child(3){height:43%}.summary-spark i:nth-child(4){height:72%}.summary-spark i:nth-child(5){height:53%}.summary-spark i:nth-child(6){height:83%}.summary-spark i:nth-child(7){height:65%}.summary-spark i:nth-child(8){height:100%;background:#6f9c77}
.content-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(310px,.8fr);gap:24px;align-items:start}.client-section,.form-panel{border:1px solid var(--line);background:#fff;border-radius:11px}.client-section{min-height:405px;padding:25px}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;margin-bottom:21px}.section-heading .eyebrow,.form-panel-heading .eyebrow{margin-bottom:7px}.section-heading h2,.form-panel-heading h2{margin:0;font-family:"Manrope",sans-serif;font-size:18px;letter-spacing:-.55px}.count-pill{display:inline-grid;place-items:center;height:20px;min-width:22px;padding:0 6px;border-radius:20px;background:#eff3ef;color:#6d7a70;font:600 10px "DM Sans",sans-serif;vertical-align:2px;margin-left:4px}
.search-form{display:flex;align-items:center;border:1px solid #e6eae5;border-radius:7px;height:34px;padding-left:9px}.search-icon{font-size:18px;color:#8b958d;transform:rotate(-20deg)}.search-form input{width:125px;border:0;outline:0;background:none;padding:6px;font-size:10px}.search-form button{align-self:stretch;border:0;border-left:1px solid #e9ede9;background:#fafbf9;padding:0 10px;color:#69766d;font-size:10px;cursor:pointer;border-radius:0 7px 7px 0}
.empty-state{min-height:270px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;border-top:1px solid #f0f2ef}.empty-icon{display:grid;place-items:center;width:42px;height:42px;background:#eff4ef;border-radius:13px;color:#63866a;font-size:20px}.empty-state h3{margin:15px 0 6px;font:600 13px "Manrope",sans-serif}.empty-state p{margin:0;color:#89928b;font-size:11px}
.client-list{display:grid;gap:10px}.client-card{border:1px solid #edf0eb;border-radius:9px;padding:15px 14px}.client-card-main{display:flex;align-items:flex-start;gap:12px}.client-card-main>.avatar{width:36px;height:36px;flex-basis:36px;font-size:12px}.client-details{flex:1;min-width:0}.client-name-line{display:flex;align-items:center;gap:9px}.client-name-line h3{margin:0;font-family:"Manrope",sans-serif;font-size:13px;letter-spacing:-.2px}.record-status{display:flex;align-items:center;gap:4px;color:#798d7c;font-size:7px;letter-spacing:.7px;font-weight:700}.record-status span{width:5px;height:5px;border-radius:50%;background:#78a37f}.client-details>p{margin:6px 0 0;color:#7f8981;font-size:10px}.client-remarks{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5}.media-count{display:inline-block;margin-top:9px;padding:4px 7px;background:#f3f5f2;border-radius:5px;font-size:9px;color:#6e7c71}.media-strip{display:flex;gap:7px;overflow:auto;margin-top:10px;padding-bottom:2px}.media-item{position:relative;flex:0 0 62px;width:62px;display:flex;flex-direction:column;gap:4px;color:#6e7a70;font-size:8px}.media-item img,.video-thumb{width:62px;height:47px;border-radius:5px;object-fit:cover;background:#eef2ed}.video-thumb{display:grid;place-items:center;color:#55795d;font-size:15px}.media-item>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.client-actions{display:flex;align-items:center;gap:10px;margin-left:3px}.edit-link,.delete-link{font-size:10px;color:#66746a}.delete-link{border:0;background:none;padding:0;color:#9b7770;cursor:pointer}.delete-link:hover{color:#a24235;text-decoration:underline}
.form-panel{padding:22px}.form-panel-heading{display:flex;align-items:center;gap:11px}.form-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#eaf2eb;color:#4b7955;font-size:19px}.form-panel-heading h2{font-size:17px}.form-intro{margin:14px 0 20px;color:#859087;font-size:10px;line-height:1.6}.client-form{gap:14px}.client-form label{gap:6px;font-size:10px}.required{color:#b16f5c}.optional{color:#9aa29b;font-weight:400}.client-form input:not([type=hidden]):not([type=file]),.client-form textarea{padding:10px 11px;font-size:10px;border-radius:6px}.client-form textarea{resize:vertical;min-height:74px}.upload-box{position:relative;display:flex;align-items:center;gap:10px;border:1px dashed #d7dfd7;border-radius:7px;padding:11px;background:#fbfcfa;overflow:hidden}.upload-symbol{display:grid;place-items:center;width:28px;height:28px;background:#edf3ee;border-radius:7px;color:#557b5d;font-size:15px}.upload-box>span:nth-child(2){display:grid;gap:4px}.upload-box strong{font-size:10px;color:#526357}.upload-box small{font-size:8px;color:#929c93}.upload-box input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.client-form>.button{font-size:11px;padding:12px}.privacy-note{display:flex;gap:9px;align-items:flex-start;margin-top:18px;padding:11px;background:#f7f9f6;border-radius:7px;color:#748078}.privacy-note>span{color:#719079;font-size:14px}.privacy-note p{font-size:9px;line-height:1.5;margin:0}.privacy-note strong{color:#4d6252}.cancel-link{font-size:10px;text-align:center;color:#68776c}.page-footer{display:flex;justify-content:space-between;margin-top:27px;color:#929b94;font-size:9px}.footer-dot{margin:0 4px;color:#bac2ba}.footer-lock{margin-left:5px;color:#77907b}
@media(max-width:900px){.content-grid{grid-template-columns:1fr}.form-panel{grid-row:1}.client-section{min-height:280px}.auth-art{padding:36px}.art-card{right:7%;bottom:12%}.art-copy h2{font-size:54px}.topbar{padding:0 24px}.workspace{padding:38px 24px 24px}}
@media(max-width:650px){.auth-shell{grid-template-columns:1fr;padding:0;gap:0}.auth-card{padding:34px 26px;min-height:100vh}.auth-card>.brand{margin-bottom:45px}.auth-art{display:none}.auth-intro h1{font-size:34px}.topbar{height:58px;padding:0 16px}.topbar-right{gap:12px}.secure-label{display:none}.user-chip{font-size:0}.user-chip .avatar{font-size:11px}.workspace{padding:32px 15px 20px}.welcome-row{align-items:flex-start;gap:16px;flex-direction:column;margin-bottom:24px}.welcome-row h1{font-size:36px}.summary-card{min-width:190px}.content-grid{gap:14px}.client-section{padding:17px 13px}.form-panel{padding:18px 15px}.section-heading{align-items:flex-start;flex-direction:column}.search-form{width:100%}.search-form input{flex:1}.client-actions{flex-direction:column;align-items:flex-end;gap:9px}.client-card{padding:12px 9px}.client-name-line{flex-wrap:wrap;gap:6px}.page-footer{gap:10px;line-height:1.5}.logout-form .text-button{font-size:10px}}

:root{--green:#851018;--green-dark:#690b12;--sage:#f2e7e5;--wash:#f7f7f5}
body{background:#f7f7f5}
.site-header{position:relative;z-index:5;min-height:102px;padding:10px clamp(18px,3vw,48px);display:flex;align-items:center;justify-content:space-between;gap:24px;background:#fff;border-bottom:1px solid #ebe8e5}
.site-header>.brand{flex:0 0 296px;display:block;width:296px;line-height:0}
.site-header>.brand img{display:block;width:100%;height:auto;max-height:82px;object-fit:contain;object-position:left center}
.site-nav{display:flex;align-items:center;justify-content:center;gap:clamp(15px,2.1vw,34px);height:100%}
.site-nav a{position:relative;padding:14px 0;color:#714744;font-size:15px;white-space:nowrap;transition:color .15s}
.site-nav a:hover,.site-nav a.active{color:#e18416}
.site-nav a.active{font-weight:700}
.site-nav a.active::after{position:absolute;content:"";height:2px;left:0;right:0;bottom:5px;background:#db7411}
.header-actions{flex:0 0 auto;display:flex;align-items:center;gap:18px}
.header-user{max-width:145px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#664843;font-size:12px;font-weight:600}
.header-login{color:#754742;font-size:12px;font-weight:600}
.header-register{display:inline-flex;align-items:center;gap:12px;padding:12px 17px;border-radius:22px;background:#fffaf4;border:1px solid #f0d7b6;color:#7a1519;font-size:11px;font-weight:700;white-space:nowrap;box-shadow:0 4px 14px #9b65301a}
.header-register span{font-size:16px}
.header-actions .text-button{padding:9px 13px;border:1px solid #eadbd6;border-radius:18px;color:#7b201e}
.auth-shell{min-height:calc(100vh - 102px);padding:24px clamp(18px,3vw,48px);grid-template-columns:minmax(300px,.8fr) minmax(0,1.2fr);gap:24px}
.auth-card{width:min(440px,100%);padding:36px 12px}
.auth-intro h1{font-size:36px}
.auth-art{min-height:calc(100vh - 150px);border-radius:8px;background:#061b29;isolation:isolate}
.auth-art::before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(105deg,rgba(1,13,22,.88),rgba(4,29,44,.60) 56%,rgba(21,32,40,.76)),radial-gradient(ellipse at 74% 10%,#987558 0,transparent 35%),linear-gradient(165deg,#163d51 0%,#071927 57%,#020b12 100%)}
.auth-art::after{content:"";position:absolute;z-index:-1;left:0;right:0;bottom:0;height:43%;opacity:.48;background:repeating-linear-gradient(0deg,transparent 0 44px,#8ea0a033 45px 47px),repeating-linear-gradient(90deg,transparent 0 85px,#8ea0a033 86px 88px);clip-path:polygon(0 10%,100% 0,100% 100%,0 100%)}
.auth-art .art-glow{display:none}
.auth-art .art-copy h2{color:#fff;text-shadow:0 2px 18px #0005}
.auth-art .art-copy h2 em{color:#e1b5b8}
.auth-art .art-copy>p,.auth-art .art-tag{color:#e0e0dc}
.auth-art .art-tag>span{background:#eca028}
.auth-art .art-card{background:#fffefaed;border-color:#fff8}
.auth-art .art-orbit{border-color:#ffffff20}
.auth-art .art-footnote{color:#e5ded4}
.workspace{max-width:1280px;padding-top:29px}
.welcome-row{position:relative;isolation:isolate;overflow:hidden;min-height:258px;align-items:center;margin-bottom:28px;padding:34px 42px;border-radius:5px;background:linear-gradient(100deg,#071824 0%,#0d2b3b 55%,#263d48 100%)}
.welcome-row::before{content:"";position:absolute;z-index:-1;inset:0 0 0 35%;opacity:.57;background:linear-gradient(100deg,#07182400 0%,#07182444 30%,#061a2670 100%),radial-gradient(ellipse at 75% 6%,#b18259 0,transparent 34%),repeating-linear-gradient(0deg,transparent 0 39px,#d4e0e01c 40px 42px),repeating-linear-gradient(90deg,transparent 0 70px,#d4e0e01c 71px 73px);clip-path:polygon(10% 0,100% 0,100% 100%,0 100%)}
.welcome-row::after{content:"";position:absolute;z-index:-1;right:20%;bottom:-110px;width:210px;height:210px;border-radius:50%;background:#dfa5721f;filter:blur(15px)}
.welcome-row>div:first-child{position:relative;z-index:1}
.welcome-row .eyebrow{display:inline-flex;align-items:center;gap:8px;margin-bottom:20px;padding:10px 17px;border-radius:24px;background:#890b12;color:#fff;font-size:10px;letter-spacing:1px}
.welcome-row .live-dot{background:#f4b740}
.welcome-row h1{color:#fff;font-size:40px;line-height:1.16;letter-spacing:-1.6px}
.welcome-row h1 em{color:#e1b5b8}
.welcome-sub{color:#e3e3df;font-size:13px}
.summary-card{position:relative;z-index:1;min-width:210px;border:1px solid #ffffff60;background:#fffefaed;box-shadow:0 12px 30px #0002}
.summary-icon{background:#f6e8df;color:#8b191b}
.summary-spark i{background:#e8c9a7}
.summary-spark i:nth-child(8){background:#b2783b}
.content-grid{gap:20px}
.client-section,.form-panel{border-color:#ebe6e1;box-shadow:0 5px 20px #33251b08}
.section-heading h2,.form-panel-heading h2{color:#352a27}
.count-pill{background:#f4ece8;color:#815850}
.search-form:focus-within{border-color:#d6a168}
.search-form button{color:#7d2a27}
.client-card{border-color:#f0ebe6}
.record-status{color:#89624b}
.record-status span{background:#d38a32}
.avatar-sage{background:#f3e7df;color:#8b3c2a}
.avatar-peach{background:#f5e4d1;color:#956329}
.avatar-blue{background:#e4ebec;color:#4f6970}
.avatar-lilac{background:#eee5e6;color:#895b62}
.form-icon,.upload-symbol,.privacy-note>span{background:#f6ebe8;color:#851018}
.upload-box{border-color:#e4d1c9}
.upload-box:hover{border-color:#bd8d66;background:#fffaf6}
.privacy-note{background:#faf6f2}
.privacy-note strong{color:#75433b}
.page-footer{padding:0 2px}
.footer-lock{color:#a46b32}
.client-actions .edit-link{color:#842d26}
.client-actions .delete-link{color:#946b5e}
.client-actions .delete-link:hover{color:#a24235}
#client-form,#client-list,#auth-form,#auth-welcome,#about-footer{scroll-margin-top:18px}
@media(max-width:1000px){.site-header{gap:14px;padding-inline:20px}.site-header>.brand{flex-basis:235px;width:235px}.site-nav{gap:15px}.site-nav a{font-size:13px}.header-actions{gap:10px}.header-user{display:none}.welcome-row{padding:30px}.welcome-row h1{font-size:35px}}
@media(max-width:760px){.site-header{min-height:76px;padding:9px 16px}.site-header>.brand{flex-basis:205px;width:205px}.site-header>.brand img{max-height:58px}.site-nav{display:none}.header-actions{margin-left:auto}.header-register{padding:10px 12px}.auth-shell{min-height:calc(100vh - 76px);padding:14px;grid-template-columns:1fr;gap:14px}.auth-card{min-height:auto;padding:34px 22px}.auth-art{min-height:330px}.auth-art .art-copy h2{font-size:45px}.auth-art .art-card{right:7%;bottom:10%}.workspace{padding:22px 15px}.welcome-row{min-height:unset;gap:20px;padding:25px 22px}.welcome-row h1{font-size:34px}.welcome-row .eyebrow{margin-bottom:15px}.summary-card{min-width:190px}.client-section{min-height:260px}}
@media(max-width:480px){.site-header>.brand{flex-basis:175px;width:175px}.header-actions{gap:10px}.header-login{display:none}.header-register{padding:9px 10px;font-size:10px}.auth-shell{padding:10px}.auth-card{padding:28px 17px}.auth-art{min-height:310px;padding:25px}.auth-art .art-copy h2{font-size:40px;letter-spacing:-2px}.auth-art .art-card{width:220px;right:15px;bottom:20px}.workspace{padding:17px 12px}.welcome-row{padding:23px 17px}.welcome-row h1{font-size:30px}.welcome-sub{max-width:275px;line-height:1.5}.welcome-row::before{inset:25% 0 0 0}.page-footer{font-size:8px}}
