@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--green:#284e43;--light:#e7ede5;--paper:#f6f5f0;--coral:#cf7964;--ink:#263a32;--muted:#738078;--line:#e3e6dd;--white:#fff;--danger:#ad473b}*{box-sizing:border-box}body{margin:0;background:var(--paper);font:14px 'DM Sans',sans-serif;color:var(--ink)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:var(--green)}button{border:0;background:none;color:inherit}button:disabled{opacity:.5;cursor:wait}.brand{display:flex;gap:11px;align-items:center}.brand img{width:39px;height:39px}.brand strong{font:700 19px Georgia,serif;display:block;letter-spacing:-.5px}.brand small{font-size:9px;text-transform:uppercase;letter-spacing:1.8px;color:var(--muted)}.sidebar{position:fixed;inset:0 auto 0 0;width:245px;background:#fff;border-right:1px solid var(--line);padding:34px 23px;display:flex;flex-direction:column;z-index:10}.sidebar .brand{margin-bottom:45px}.nav-label{font-size:10px;font-weight:700;letter-spacing:2px;color:var(--muted);margin:0 13px 13px}.nav{display:grid;gap:6px}.nav button{display:flex;gap:14px;align-items:center;text-align:left;padding:13px 15px;border-radius:10px;color:#6a786f;font-weight:500}.nav button.active{background:var(--green);color:white}.nav button:hover:not(.active){background:var(--light)}.ico{width:20px;height:20px;display:inline-flex;flex-shrink:0}.ico svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.sidebar-bottom{margin-top:auto;padding-top:28px}.studio-note{padding:16px;background:var(--paper);border-radius:12px;font-size:12px;line-height:1.65}.studio-note strong{display:block}.shell{margin-left:245px}.topbar{height:88px;background:#fff;border-bottom:1px solid var(--line);padding:0 42px;display:flex;align-items:center;justify-content:space-between;gap:15px}.crumb{color:var(--muted);font-size:12px}.crumb span{color:var(--ink);margin-left:12px}.profile{display:flex;gap:12px;align-items:center}.avatar{display:grid;place-items:center;background:#f0dcd2;color:#885441;width:37px;height:37px;border-radius:50%;font-weight:700}.profile strong{display:block;font-size:12px}.profile small{color:var(--muted);font-size:10px}.logout{padding:8px;color:var(--muted)}main{max-width:1500px;margin:auto;padding:35px 42px 55px}.eyebrow{text-transform:uppercase;color:var(--coral);font-size:10px;letter-spacing:2px;font-weight:700}.heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:27px}.heading h1{font:700 29px 'Manrope',sans-serif;letter-spacing:-1px;margin:9px 0}.muted{color:var(--muted);line-height:1.7}.heading p{margin:0;font-size:13px}.btn{background:var(--green);color:white;padding:12px 18px;border-radius:9px;display:inline-flex;gap:9px;align-items:center;justify-content:center;font-weight:600;font-size:12px;white-space:nowrap}.btn.secondary{background:white;color:var(--green);border:1px solid var(--line)}.btn.danger{background:var(--danger)}.btn:hover{filter:brightness(.95)}.hero{background:var(--green);color:white;border-radius:17px;padding:28px 31px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px;min-height:154px}.hero .eyebrow{color:#d6cbb5}.hero h2{font:500 29px Georgia,serif;letter-spacing:-.4px;margin:12px 0}.hero p{color:#d5dfd5;font-size:12px;line-height:1.6;margin:0;max-width:460px}.hero .btn{background:#f2e9d8;color:var(--green);position:relative;z-index:1}.hero-art{position:absolute;right:165px;top:-28px;width:205px;opacity:.12;transform:rotate(15deg);pointer-events:none}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:27px}.stat{background:white;border:1px solid var(--line);border-radius:13px;padding:20px}.stat-top{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:12px}.stat-top .ico{color:var(--green);background:var(--light);box-sizing:content-box;padding:8px;border-radius:10px}.stat b{font:700 30px 'Manrope',sans-serif;display:block;letter-spacing:-1px;margin:12px 0 7px}.stat small{font-size:11px;color:var(--muted)}.grid{display:grid;grid-template-columns:1.65fr 1fr;gap:22px}.panel{border:1px solid var(--line);border-radius:14px;background:white;overflow:hidden}.panel-title{padding:22px 23px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-title h2{font:700 15px Manrope,sans-serif;margin:0}.panel-title p{font-size:11px;color:var(--muted);margin:5px 0 0}.text-btn{font-size:11px;color:var(--green);font-weight:700}.empty{padding:42px 22px;text-align:center;color:var(--muted)}.empty .ico{width:30px;height:30px;color:#a0afa1;margin-bottom:11px}.empty strong{display:block;color:var(--ink);font-size:13px;margin-bottom:7px}.empty p{font-size:12px;line-height:1.7;margin:0 auto 16px;max-width:290px}.quick{padding:12px 23px;display:flex;gap:12px;width:100%;align-items:center;text-align:left;border-bottom:1px solid var(--line)}.quick:last-child{border:0}.quick>.ico{padding:10px;box-sizing:content-box;background:var(--paper);border-radius:10px;color:var(--green)}.quick strong{display:block;font-size:12px}.quick small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.quick .arrow{margin-left:auto;color:var(--muted)}.quick:hover{background:#fafbf8}.list-row{display:flex;gap:14px;align-items:center;padding:17px 23px;border-bottom:1px solid var(--line)}.list-row:last-child{border:0}.list-row .time{font-weight:700;color:var(--green);font-size:13px;width:45px}.list-row strong{display:block;font-size:13px}.list-row small{color:var(--muted);display:block;margin-top:5px}.badge{font-size:10px;background:var(--light);color:var(--green);padding:5px 9px;border-radius:6px;white-space:nowrap;display:inline-block}.badge.warn{background:#fbecdf;color:#95673c}.toolbar{display:flex;gap:12px;margin-bottom:19px;align-items:center}.search{background:white;border:1px solid var(--line);border-radius:9px;padding:12px 15px;min-width:200px;width:330px;color:var(--ink)}.count{margin-left:auto;color:var(--muted);font-size:12px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{background:#fafbf8;padding:14px 20px;color:var(--muted);font-weight:500;font-size:11px}td{padding:17px 20px;border-top:1px solid var(--line);vertical-align:middle}td strong{font-size:12px}td small{display:block;color:var(--muted);margin-top:4px}.row-actions{display:flex;gap:5px}.icon-btn{padding:8px;border:1px solid var(--line);border-radius:7px;display:inline-flex}.icon-btn .ico{width:15px;height:15px}.icon-btn:hover{background:var(--light)}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.record{background:white;border:1px solid var(--line);border-radius:13px;padding:21px;display:flex;flex-direction:column;gap:14px}.record-top{display:flex;justify-content:space-between;gap:12px}.record h3{font:700 15px Manrope,sans-serif;margin:0}.record p{margin:0;font-size:12px;line-height:1.7;color:var(--muted);white-space:pre-wrap}.record .record-body{flex:1}.record-footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:14px}.record-meta{font-size:11px;color:var(--muted);line-height:1.8}.auth{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-story{background:var(--green);color:white;padding:55px 60px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-story .brand small{color:#c7d4c9}.auth-story .brand img{border:1px solid #789280;border-radius:10px}.auth-story h1{font:400 clamp(38px,4vw,64px) Georgia,serif;line-height:1.16;max-width:470px;letter-spacing:-1.5px}.auth-story h1 em{color:#dbad97}.auth-story p{font-size:14px;line-height:1.9;max-width:380px;color:#cdd8cd}.auth-story footer{font-size:11px;color:#bbcdbf;letter-spacing:1px}.auth-form{padding:40px;display:grid;place-items:center}.auth-inner{width:100%;max-width:375px}.auth-inner h2{font:700 28px Manrope,sans-serif;letter-spacing:-1px;margin:10px 0}.auth-inner p{color:var(--muted);line-height:1.7;font-size:12px}.field{display:grid;gap:7px;margin-bottom:16px}.field label{font-size:12px;font-weight:600}.field input,.field select,.field textarea{padding:12px 13px;border:1px solid #d9dfd5;border-radius:8px;background:white;color:var(--ink);width:100%;min-width:0}.field textarea{min-height:95px;resize:vertical}.auth-inner .btn{width:100%;margin-top:5px}.auth-tabs{display:flex;border-bottom:1px solid var(--line);margin:25px 0}.auth-tabs button{padding:12px 15px;color:var(--muted);font-size:12px;border-bottom:2px solid transparent}.auth-tabs button.active{color:var(--green);border-color:var(--green);font-weight:700}.hint{background:#e8eee4;padding:13px;border-radius:8px;font-size:11px;line-height:1.7;margin:20px 0;color:#4e6654}.error{background:#ffede7;color:#973b2b;padding:12px;border-radius:8px;line-height:1.6;margin:16px 0;font-size:12px}.boot{height:100vh;display:grid;align-content:center;justify-content:center;text-align:center;font:28px Georgia,serif}.boot span{font:12px 'DM Sans',sans-serif;color:var(--muted);margin-top:15px}dialog{border:1px solid var(--line);padding:0;border-radius:16px;max-width:570px;width:calc(100% - 32px);max-height:90vh;color:var(--ink);box-shadow:0 20px 100px #183c3529}dialog::backdrop{background:#172f2870;backdrop-filter:blur(3px)}.modal-head{padding:22px 25px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.modal-head h2{margin:0;font:700 18px Manrope,sans-serif}.modal-content{padding:24px;overflow:auto;max-height:70vh}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.form-grid .full{grid-column:1/-1}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:8px}.notice{font-size:12px;color:var(--muted);line-height:1.7;padding:15px;background:var(--light);border-radius:9px}.bottom-nav{display:none}#toast{position:fixed;bottom:25px;right:25px;z-index:100;background:var(--green);color:white;padding:15px 22px;border-radius:10px;box-shadow:0 6px 30px #0002;max-width:360px;display:none;font-size:13px}#toast.show{display:block}.view-note{margin-top:20px;font-size:11px;color:var(--muted)}.mobile-brand{display:none}.fatal{padding:25px;color:var(--danger)}
@media(min-width:1600px){main{padding-top:45px}.hero{min-height:180px}}@media(max-width:1150px){.sidebar{width:210px;padding:30px 17px}.brand strong{font-size:17px}.shell{margin-left:210px}.topbar{padding:0 27px}main{padding:28px}.cards{grid-template-columns:repeat(2,1fr)}.stats{gap:10px}.stat{padding:15px}.stat b{font-size:27px}}@media(max-width:800px){.sidebar{display:none}.shell{margin:0}.topbar{height:72px;padding:0 20px}.crumb{display:none}.mobile-brand{display:block}.mobile-brand .brand img{width:32px;height:32px}.mobile-brand .brand strong{font-size:16px}.mobile-brand .brand small{font-size:7px}.profile-info{display:none}main{padding:25px 18px 100px}.heading{align-items:flex-start}.heading h1{font-size:25px}.heading p{font-size:12px;max-width:240px}.heading .btn{padding:11px;font-size:11px}.hero{padding:23px;display:block}.hero h2{font-size:26px}.hero p{max-width:75%}.hero .btn{margin-top:19px}.hero-art{right:-25px;top:-5px;width:190px}.stats{grid-template-columns:repeat(2,1fr);gap:12px}.stat{padding:17px}.stat b{font-size:26px}.grid{grid-template-columns:1fr}.bottom-nav{position:fixed;bottom:0;left:0;right:0;background:white;border-top:1px solid var(--line);display:flex;justify-content:space-around;z-index:15;padding:10px 5px calc(10px + env(safe-area-inset-bottom))}.bottom-nav button{font-size:9px;display:flex;gap:5px;align-items:center;flex-direction:column;color:var(--muted);min-width:52px}.bottom-nav button.active{color:var(--green);font-weight:700}.bottom-nav .ico{width:22px;height:22px}.auth{grid-template-columns:1fr}.auth-story{padding:28px;min-height:230px}.auth-story h1{font-size:34px;max-width:330px;margin:25px 0 0}.auth-story p,.auth-story footer{display:none}.auth-form{padding:30px 23px}.cards{grid-template-columns:1fr 1fr;gap:12px}.record{padding:17px}.record h3{font-size:14px}.search{width:100%;min-width:0}.count{white-space:nowrap}#toast{bottom:85px;right:15px;left:15px;max-width:none}.table-wrap{max-width:calc(100vw - 38px)}.form-grid{grid-template-columns:1fr}.hero .eyebrow{font-size:9px}}
@media(max-width:450px){.cards{grid-template-columns:1fr}.profile{gap:5px}.stat-top{font-size:11px}.stat-top .ico{padding:6px;width:16px;height:16px}.stat small{font-size:10px}.heading h1{font-size:23px}.panel-title{padding:19px}.hero p{max-width:85%}}

/* Native Vivale identity, recreated from the approved icon composition. */
.brand{display:flex;align-items:center;gap:11px;max-width:100%;background:transparent;color:var(--green);padding:0}
.brand-symbol{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border-radius:12px;background:var(--green)}
.brand .brand-symbol img{display:block;position:static;width:38px;height:38px;max-width:100%;filter:none;object-fit:contain}
.brand-type{min-width:0;display:flex;flex-direction:column;align-items:center}.brand .brand-name{font:300 20px/1.05 'DM Sans',sans-serif;letter-spacing:.8px;color:inherit;white-space:nowrap}
.brand-vivale{display:flex;align-items:center;gap:5px;width:100%;font:400 9px/1.4 'DM Sans',sans-serif;letter-spacing:4px;margin-top:3px}.brand-vivale:before,.brand-vivale:after{content:'';height:1px;background:currentColor;flex:1}.brand small{display:block;color:inherit;font:500 5.5px/1.5 'DM Sans',sans-serif;letter-spacing:1px;white-space:nowrap;margin-top:3px}
.auth-story .brand{color:#fff}.auth-story .brand-symbol{background:#ffffff12}.auth-story .brand small{color:#fff}
@media(max-width:1150px) and (min-width:801px){.brand{gap:8px}.brand-symbol{flex-basis:40px;width:40px;height:40px}.brand .brand-symbol img{width:34px;height:34px}.brand .brand-name{font-size:18px}.brand small{font-size:5px;letter-spacing:.7px}}
@media(max-width:800px){.mobile-brand .brand{gap:9px}.mobile-brand .brand-symbol{width:38px;height:38px;flex-basis:38px;border-radius:10px}.mobile-brand .brand .brand-symbol img{width:32px;height:32px}.mobile-brand .brand .brand-name{font-size:18px}.mobile-brand .brand-vivale{font-size:8px;letter-spacing:3px}.mobile-brand .brand small{font-size:5px;letter-spacing:.8px}}
.brand-symbol svg{display:block;width:38px;height:38px}@media(max-width:1150px) and (min-width:801px){.brand-symbol svg{width:34px;height:34px}}@media(max-width:800px){.mobile-brand .brand-symbol svg{width:32px;height:32px}}

.field-password{position:relative}.password-wrap{position:relative}.password-wrap input{padding-right:52px}.password-toggle{position:absolute;inset:1px 4px 1px auto;width:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;color:var(--muted)}.password-toggle:hover{background:var(--light);color:var(--green)}.password-toggle .ico{width:19px;height:19px}.password-toggle:focus-visible{outline:2px solid var(--green);outline-offset:1px}
