:root{--bg:#faf8f5;--paper:#fff;--ink:#322b31;--muted:#92878a;--accent:#b66a54;--accent-dark:#98513e;--rose:#f5e4dd;--sage:#e9eee7;--sage-ink:#64745e;--sand:#f6eddc;--line:#eee8e3;--radius:18px;--shadow:0 8px 28px #48372d04;--font:'Manrope','Noto Sans Thai',sans-serif}
*{box-sizing:border-box}html{font-size:14px;color:var(--ink);background:var(--bg);scroll-behavior:smooth}body{margin:0;font-family:var(--font);line-height:1.6;letter-spacing:-.012em}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit;text-decoration:none}button{color:inherit}svg{vertical-align:middle;flex-shrink:0}button:focus-visible,a:focus-visible{outline:3px solid #b66a5466;outline-offset:4px}h1,h2,h3,h4,p{margin:0}h1,h2,h3,h4{font-weight:650}.hidden,[hidden]{display:none!important}.muted{color:var(--muted)}.app{min-height:100vh}
.sidebar{position:fixed;inset:0 auto 0 0;width:230px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:20;padding:34px 20px 22px}.brand{display:flex;align-items:center;gap:10px;padding:0 13px 37px;font-family:Georgia,serif;font-size:29px;line-height:1.05;letter-spacing:.09em;font-weight:500}.brand-icon{width:37px;height:42px;border-radius:20px 20px 6px 6px;background:var(--rose);display:grid;place-items:center;color:var(--accent);font-size:22px;letter-spacing:0}.brand-sub{font:9px var(--font);letter-spacing:.25em;color:var(--muted);margin-top:7px;text-transform:uppercase}.section-label{font-size:9px;font-weight:650;letter-spacing:.13em;color:#b4a9a5;margin:4px 15px 13px;text-transform:uppercase}.nav-item{display:flex;align-items:center;gap:12px;padding:12px 14px;margin:3px 0;border:0;background:transparent;border-radius:11px;color:#8d8084;font-weight:500;width:100%;text-align:left;transition:background .15s,color .15s}.nav-item.active{background:#f7ede8;color:var(--accent)}.nav-item:hover{background:#faf5f1;color:var(--accent)}.nav-item svg{width:19px;height:19px;stroke-width:1.6}.nav-item .badge{font-size:10px;margin-left:auto;min-width:22px;height:22px;border-radius:7px;display:grid;place-items:center;background:#fff5ef;color:var(--accent)}.sidebar-footer{margin-top:auto;border-top:1px solid var(--line);padding:19px 9px 0;display:flex;align-items:center;gap:10px;font-size:12px}.sidebar-footer strong{display:block;font-size:12px;font-weight:600}.sidebar-footer small{display:block;color:var(--muted);font-size:10px}.avatar{width:36px;height:36px;flex-shrink:0;border-radius:50%;background:#ece3db;display:grid;place-items:center;font-size:12px;color:#8d6754;font-weight:700}.main{margin-left:230px;padding:37px 38px 44px;max-width:1900px}.topbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}.eyebrow{color:#aa9690;letter-spacing:.12em;text-transform:uppercase;font-size:10px;font-weight:600;margin-bottom:5px}.page-title{font-size:27px;font-weight:650;letter-spacing:-.045em;line-height:1.45}.topbar p{font-size:12px;margin-top:5px}.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);background:#fff;border-radius:9px;padding:10px 17px;min-height:40px;font-size:12px;font-weight:600;white-space:nowrap;transition:background .15s,transform .15s}.btn:hover{background:#f9f5f1;transform:translateY(-1px)}.btn.primary{background:var(--accent);color:#fff;border-color:var(--accent);box-shadow:0 3px 8px #b66a5414}.btn.primary:hover{background:var(--accent-dark)}.btn.soft{background:#f6ece6;color:var(--accent);border-color:#f6ece6}.btn.small{font-size:11px;padding:6px 11px;min-height:31px;border-radius:7px}.btn.danger{color:#b15350;background:#fff0ed;border-color:#f6d4ce}.btn svg{width:15px;height:15px}.icon-btn{display:inline-grid;place-items:center;border:1px solid var(--line);background:#fff;border-radius:9px;width:38px;height:38px;color:#84777a}.icon-btn:hover{background:#faf4ef}.icon-btn svg{width:16px;height:16px}.demo-note{display:flex;align-items:center;gap:9px;background:#f7f0e7;border:1px solid #ede1d1;border-radius:10px;color:#9a7b56;font-size:11px;padding:10px 14px;margin-bottom:23px}.demo-note svg{width:15px;height:15px;flex-shrink:0}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:28px}.stat-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:19px 21px;box-shadow:var(--shadow);min-height:138px}.stat-icon{position:absolute;right:19px;top:19px;width:34px;height:34px;background:#f7f0eb;color:#b78672;border-radius:11px;display:grid;place-items:center}.stat-card:nth-child(2) .stat-icon{background:#eef0e9;color:#8b987a}.stat-card:nth-child(3) .stat-icon{background:#f7eee5;color:#c59c70}.stat-card:nth-child(4) .stat-icon{background:#f0edf3;color:#a392b4}.stat-icon svg{width:17px;height:17px;stroke-width:1.6}.stat-label{color:#9b8d90;font-size:11px;margin-bottom:5px}.stat-value{font-size:28px;letter-spacing:-.04em;font-weight:650;line-height:1.3}.stat-value small{font-size:12px;letter-spacing:0;font-weight:500;color:#a89796;margin-left:5px}.stat-meta{margin-top:9px;font-size:10px;color:#aa9a98}.stat-meta .positive{color:#8b997c}.workspace-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:22px;align-items:start}.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 23px;border-bottom:1px solid var(--line)}.panel-title{font-size:15px;font-weight:650}.panel-title small{font-size:11px;color:var(--muted);font-weight:400;margin-left:8px}.panel-header p{font-size:10px;color:var(--muted);margin-top:3px}.tabs{display:flex;align-items:center;padding:3px;background:#f7f5f2;border-radius:8px;gap:2px}.tab{background:transparent;border:0;color:#a09090;font-size:10px;padding:6px 12px;border-radius:6px}.tab.active{background:#fff;box-shadow:0 1px 5px #4d333514;color:#7a6258;font-weight:600}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 23px}.date-control{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:600}.date-control .icon-btn{height:28px;width:28px;border-radius:7px}.date-control input{border:0;background:transparent;font:inherit;color:var(--ink);max-width:140px}.date-control input:focus{outline:1px solid var(--accent);outline-offset:4px}.toolbar .legend{display:flex;gap:14px;align-items:center;color:#ad9d98;font-size:9px}.toolbar .legend span{display:flex;align-items:center;gap:5px}.toolbar .legend i{display:inline-block;width:6px;height:6px;background:#b7c5a8;border-radius:50%}.timeline-scroll{overflow-x:auto;scrollbar-width:thin;scrollbar-color:#e4d6cb transparent}.timeline{min-width:870px}.timeline-head,.timeline-row{display:grid;grid-template-columns:160px minmax(700px,1fr)}.timeline-head{border-bottom:1px solid var(--line);background:#fffcfa}.timeline-head .team-label{font-size:9px;letter-spacing:.07em;color:#b1a19d;padding:12px 23px;font-weight:500;border-right:1px solid var(--line)}.hours{height:40px;position:relative;margin-right:15px}.hour-label{position:absolute;top:13px;font-size:9px;color:#ad9d98;transform:translateX(-50%);white-space:nowrap}.hour-label:first-child{transform:translateX(0)}.timeline-row{border-bottom:1px solid var(--line)}.timeline-row:last-child{border-bottom:0}.team-label{border-right:1px solid var(--line);padding:25px 18px 18px 23px;min-width:0}.team-label .avatar{width:27px;height:27px;font-size:9px;margin-bottom:7px;background:#f2e3db}.timeline-row:nth-child(3) .team-label .avatar{background:#e7eadd;color:#7e8b6a}.timeline-row:nth-child(4) .team-label .avatar{background:#eee4ed;color:#aa8da4}.timeline-row:nth-child(5) .team-label .avatar{background:#e9e5e0;color:#9b8b78}.team-name{font-size:11px;font-weight:600;line-height:1.5}.team-members{font-size:9px;color:#ae9f9a;line-height:1.6;margin-top:4px}.time-grid{position:relative;height:130px;background-image:linear-gradient(to right,var(--line) 1px,transparent 1px);background-size:8.333333% 100%}.event{position:absolute;top:24px;height:83px;min-width:22px;border:0;border-radius:8px;background:#f4e7df;border-left:3px solid #c89077;padding:9px 10px;text-align:left;overflow:hidden;cursor:pointer;transition:filter .15s,box-shadow .15s;color:#805a4b}.event:hover{filter:brightness(.98);box-shadow:0 3px 12px #7b56311a}.event.sage{background:#eaf0e5;border-left-color:#a4b58f;color:#647553}.event.rose{background:#f6e7e4;border-left-color:#d4a29a;color:#9b6f66}.event.sand{background:#f7efdf;border-left-color:#d6bd8f;color:#987d50}.event-name{font-size:11px;font-weight:650;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.event-time{font-size:9px;margin-top:1px;opacity:.8;white-space:nowrap}.event-meta{font-size:8px;margin-top:5px;opacity:.7;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.event .status{font-size:8px;padding:0 5px;background:#ffffff80}.status{display:inline-flex;align-items:center;gap:5px;border-radius:5px;padding:3px 7px;font-size:9px;font-weight:500;white-space:nowrap;background:#f5eee4;color:#a08b69}.status:before{content:'';width:4px;height:4px;border-radius:50%;background:currentColor}.status.confirmed{color:#748864;background:#edf2e8}.status.pending{color:#b79255;background:#fbf3df}.status.review{color:#b6806b;background:#f9eae3}.status.done{color:#9b93a5;background:#f1edf6}.status.cancelled{color:#a48e8c;background:#f4eaea}.request-list{padding:0 18px}.request-card{padding:18px 0;border-bottom:1px solid var(--line);font-size:11px}.request-card:last-child{border-bottom:0}.request-top{display:flex;justify-content:space-between;align-items:center;gap:5px;margin-bottom:6px}.request-top strong{font-size:12px;font-weight:600}.request-meta{font-size:10px;color:#a79490;line-height:1.9}.request-card .actions{margin-top:11px;gap:6px}.request-card .btn{flex:1}.request-card .request-price{font-size:12px;font-weight:650;color:var(--accent);margin-top:8px}.booking-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin-top:17px}.booking-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}.booking-head{padding:15px 18px;display:flex;justify-content:space-between;align-items:center;gap:8px;border-bottom:1px solid var(--line)}.booking-head strong{font-size:12px;font-weight:650}.booking-body{padding:16px 18px}.booking-info{font-size:11px;color:#a18c87;line-height:2.1}.booking-info svg{width:12px;height:12px;margin-right:7px;color:#bba9a0}.booking-money{display:flex;justify-content:space-between;align-items:center;border-top:1px dashed #eadfd6;margin-top:13px;padding-top:12px;font-size:10px;color:#aa9790}.booking-money strong{font-size:15px;font-weight:650;color:#96715f}.booking-card .actions{margin-top:13px}.booking-card .actions .btn{flex:1}.empty{padding:36px 24px;text-align:center;color:var(--muted);font-size:12px}.empty svg{display:block;margin:0 auto 12px;width:28px;height:28px;color:#c5b3a7}.view{animation:fade-in .22s ease}.view>.panel,.view>.team-cards{margin-top:20px}.view>.toolbar{padding-left:0;padding-right:0}.view h2{font-size:16px;font-weight:650}.view .section-heading{display:flex;align-items:center;justify-content:space-between;margin-top:28px}.view .section-heading p{font-size:11px;color:var(--muted)}.role-switch{display:inline-flex;gap:4px;padding:4px;border:1px solid var(--line);border-radius:9px;background:#fff;align-items:center}.role-switch label{font-size:10px;color:var(--muted);padding:0 5px}.role-switch select{font-size:11px;border:0;background:#fff;color:#7c6863;max-width:125px;padding:4px}.chip{display:inline-flex;align-items:center;gap:5px;border:1px solid var(--line);background:#fff;border-radius:20px;padding:4px 10px;color:#a18a7d;font-size:10px}.team-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.team-card{border:1px solid var(--line);border-radius:var(--radius);background:#fff;padding:24px;text-align:center}.team-card .avatar{width:55px;height:55px;margin:0 auto 12px;font-size:17px}.team-card h3{font-size:15px}.team-card p{font-size:11px;color:var(--muted);margin-top:5px}.team-card .chip{margin-top:15px}.privacy-note{font-size:10px;color:#b29c92;margin-top:18px;line-height:1.9}.mobile-nav{display:none}
.overlay{position:fixed;inset:0;background:#30212650;backdrop-filter:blur(3px);z-index:100;display:flex;justify-content:flex-end;animation:fade-in .18s ease}.drawer{width:min(700px,100%);height:100%;background:var(--bg);box-shadow:-12px 0 60px #2d15232b;display:flex;flex-direction:column;animation:slide-in .23s ease}.drawer-header{display:flex;align-items:center;justify-content:space-between;padding:24px 28px;background:#fff;border-bottom:1px solid var(--line);gap:14px}.drawer-header h2{font-size:19px}.drawer-header p{font-size:11px;color:var(--muted);margin-top:3px}.drawer-content{padding:24px 28px;overflow-y:auto;overscroll-behavior:contain;flex:1}.drawer-content h3{font-size:13px;margin-bottom:14px}.drawer-content .section-label{margin:22px 0 12px;color:#ab8e7b;font-size:10px}.drawer-footer{padding:17px 28px;background:#fff;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.drawer-footer .privacy-note{margin:0 auto 0 0;max-width:280px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.field.full{grid-column:1/-1}.field label{font-size:11px;font-weight:550;color:#8d7470}.field label small{font-weight:400;color:#b29e94}.field input,.field select,.field textarea{width:100%;background:#fff;border:1px solid #e9dfd7;border-radius:8px;min-height:42px;padding:9px 11px;font-size:12px;color:var(--ink);outline:none;transition:border-color .15s,box-shadow .15s}.field textarea{resize:vertical;min-height:80px}.field input:focus,.field select:focus,.field textarea:focus{border-color:#bd8e76;box-shadow:0 0 0 3px #b66a5410}.field input::placeholder,.field textarea::placeholder{color:#c1b1a9}.field input[readonly]{background:#f7f3ee;color:#a1897c}.field small{font-size:10px;color:#b09a8d}.summary{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px 20px;margin-top:20px}.summary h3{margin-bottom:10px}.summary-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:5px 0;color:#9b8377;font-size:12px}.summary-row strong{font-weight:550;color:#67554d}.summary-row.total{margin-top:9px;padding-top:14px;border-top:1px solid var(--line);font-weight:650;color:var(--ink)}.summary-row.total strong{font-size:20px;font-weight:650;color:var(--accent)}.summary-row small{font-size:10px}.alert{font-size:11px;border-radius:9px;padding:11px 14px;background:#fbefdc;color:#ab8351;border:1px solid #f1dec1;margin:15px 0;line-height:1.85}.alert.success{background:#edf3e8;border-color:#dbe8cf;color:#738466}.alert.error{background:#fce9e4;border-color:#efcdc3;color:#b16e58}.toast{position:fixed;bottom:28px;left:calc(50% + 115px);transform:translateX(-50%);z-index:250;background:#433735;color:#fff;padding:12px 21px;border-radius:11px;box-shadow:0 8px 30px #33232333;font-size:12px;max-width:90vw;animation:fade-in .2s ease}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:19px}.detail-grid>div{font-size:12px;overflow-wrap:anywhere}.detail-grid small{display:block;font-size:10px;color:#b09a8e;margin-bottom:3px}.detail-grid .full{grid-column:1/-1}.detail-grid a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}.copy-box{font-size:12px;line-height:1.9;border:1px dashed #d8c4b5;background:#fffdf9;border-radius:10px;padding:18px;white-space:pre-wrap;overflow-wrap:anywhere;font-family:var(--font);color:#8a6e5f}.check-row{display:flex;align-items:flex-start;gap:9px;font-size:11px;line-height:1.8;color:#977c6d;margin:13px 0}.check-row input{accent-color:var(--accent);margin-top:3px}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:16px 0}.metrics>div{padding:16px;background:#fff;border:1px solid var(--line);border-radius:10px}.metrics small{display:block;color:var(--muted);font-size:10px}.metrics strong{font-size:20px;font-weight:600;display:block;margin-top:5px}.request-card .status{font-size:8px}.drawer .status{margin-bottom:14px}.drawer .panel{margin-top:16px}.drawer .panel-header{padding:15px 18px}.drawer .panel-body{padding:18px}.table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse;font-size:11px;white-space:nowrap}.table th{font-size:10px;font-weight:500;color:#b09a90;background:#fdfaf7;text-align:left;padding:13px 17px;border-bottom:1px solid var(--line)}.table td{padding:17px;border-bottom:1px solid var(--line);vertical-align:middle}.table td strong{font-weight:600}.table td small{display:block;font-size:9px;color:var(--muted)}.table tr:last-child td{border-bottom:0}.table tbody tr:hover{background:#fffcf8}.calendar-footer{font-size:9px;color:#b09b91;display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding:13px 22px}.calendar-footer .actions{gap:13px}.calendar-footer i{display:inline-block;width:6px;height:6px;margin-right:5px;border-radius:50%;background:#c4d0b8}.page-footer{font-size:9px;color:#b7a49a;margin-top:27px;display:flex;justify-content:space-between}.money-note{background:#f5eee7;border-radius:8px;padding:10px 12px;font-size:10px;color:#a38772;margin-top:14px}.booking-card:hover{border-color:#ddc8b9}.booking-list>.booking-card{cursor:pointer}
@keyframes fade-in{from{opacity:0}to{opacity:1}}@keyframes slide-in{from{transform:translateX(35px);opacity:.6}to{transform:translateX(0);opacity:1}}
@media(min-width:1600px){.main{padding:42px 54px}.workspace-grid{grid-template-columns:minmax(0,1fr) 320px}.stat-card{padding:23px 25px}.stat-icon{right:24px;top:23px}}
@media(max-width:1250px){.sidebar{width:202px;padding-left:14px;padding-right:14px}.main{margin-left:202px;padding:28px 25px}.workspace-grid{grid-template-columns:minmax(0,1fr) 250px;gap:16px}.stats{gap:12px}.stat-card{padding:17px 15px}.stat-icon{right:13px;top:17px;width:29px;height:29px}.stat-label{font-size:10px}.stat-value{font-size:25px}.booking-list{gap:12px}.booking-head,.booking-body{padding-left:13px;padding-right:13px}.booking-head strong{font-size:11px}.booking-info{font-size:10px}.team-cards{grid-template-columns:repeat(2,1fr)}.toast{left:calc(50% + 101px)}}
@media(max-width:1050px){.workspace-grid{grid-template-columns:1fr}.workspace-grid>.panel:last-child .request-list{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.workspace-grid>.panel:last-child .request-card{border-bottom:0}.topbar{align-items:flex-start}.topbar>.actions{justify-content:flex-end}.role-switch{order:3}.booking-list{grid-template-columns:repeat(2,minmax(0,1fr))}.toolbar .legend{display:none}.page-title{font-size:24px}.stat-icon{display:none}}
@media(max-width:760px){.sidebar{width:76px;padding:26px 11px}.brand{padding:0 8px 28px;justify-content:center}.brand>div:not(.brand-icon),.brand-sub,.sidebar .section-label,.nav-item span,.sidebar-footer>div:not(.avatar),.sidebar-footer>svg{display:none}.brand-icon{min-width:35px;height:39px}.nav-item{justify-content:center;padding:13px 0;margin:5px 0}.nav-item svg{width:20px;height:20px}.nav-item .badge{display:none}.sidebar-footer{justify-content:center;padding:18px 0 0}.main{margin-left:76px;padding:25px 20px}.topbar{gap:13px}.topbar>.actions{gap:6px;max-width:205px}.topbar .btn{padding:9px 11px;font-size:10px}.stats{grid-template-columns:repeat(2,1fr);gap:11px;margin-bottom:22px}.stat-card{padding:16px;min-height:120px}.stat-icon{display:grid;right:15px;top:15px}.stat-value{font-size:26px}.workspace-grid>.panel:last-child .request-list{grid-template-columns:1fr 1fr}.workspace-grid>.panel:last-child .request-card:last-child{display:none}.booking-list{grid-template-columns:1fr 1fr}.toast{left:calc(50% + 38px)}.demo-note{font-size:10px;padding:9px 11px}.panel-header{padding:17px}.toolbar{padding:14px 17px}.calendar-footer{padding:12px 17px}.page-footer{display:none}}
@media(max-width:560px){html{font-size:13px}.sidebar{display:none}.main{margin-left:0;padding:22px 16px 96px}.topbar{align-items:flex-start;margin-bottom:18px;position:relative;padding-bottom:0}.eyebrow{font-size:8px;letter-spacing:.14em}.page-title{font-size:23px}.topbar p{font-size:10px;max-width:200px}.topbar>.actions{max-width:150px;gap:6px}.topbar .btn{min-height:35px;padding:7px 10px;border-radius:8px}.topbar .icon-btn{display:none}.topbar .role-switch{padding:1px 3px;min-height:27px;border-radius:7px}.topbar .role-switch label{font-size:8px}.topbar .role-switch select{font-size:9px;max-width:96px}.stats{gap:10px;margin-bottom:20px}.stat-card{padding:14px;min-height:116px;border-radius:14px}.stat-icon{height:27px;width:27px;right:12px;top:12px;border-radius:8px}.stat-icon svg{width:14px;height:14px}.stat-label{font-size:9px}.stat-value{font-size:25px}.stat-value small{font-size:10px}.stat-meta{font-size:9px}.demo-note{align-items:flex-start;font-size:9px;margin-bottom:18px;line-height:1.8}.demo-note svg{margin-top:2px;width:13px}.panel{border-radius:14px}.panel-header{padding:15px}.panel-title{font-size:13px}.panel-title small{font-size:9px}.panel-header p{font-size:9px}.tabs{padding:2px}.tab{padding:5px 8px;font-size:9px}.toolbar{padding:13px 15px}.date-control{gap:7px;font-size:11px}.date-control .icon-btn{width:25px;height:25px}.toolbar>.btn{padding:5px 8px;font-size:9px;min-height:28px}.workspace-grid{gap:17px}.workspace-grid>.panel:last-child .request-list{display:block;padding:0 15px}.workspace-grid>.panel:last-child .request-card{border-bottom:1px solid var(--line);padding:15px 0}.workspace-grid>.panel:last-child .request-card:last-child{display:block;border-bottom:0}.request-card .actions{justify-content:flex-end}.request-card .actions .btn{flex:0 0 auto;min-width:90px}.request-top strong{font-size:12px}.request-meta{font-size:10px}.booking-list{grid-template-columns:1fr;gap:12px;margin-top:13px}.booking-head{padding:13px 15px}.booking-head strong{font-size:12px}.booking-body{padding:13px 15px}.booking-info{font-size:11px}.view .section-heading{margin-top:23px;gap:10px}.view .section-heading h2{font-size:14px}.view .section-heading p{font-size:9px}.booking-money{margin-top:10px;padding-top:10px}.team-cards{gap:12px}.team-card{padding:20px 12px;border-radius:14px}.team-card p{font-size:10px}.team-card h3{font-size:13px}.team-card .avatar{height:45px;width:45px;font-size:15px}.mobile-nav{position:fixed;bottom:0;left:0;right:0;z-index:50;display:flex;justify-content:space-around;background:#ffffffed;backdrop-filter:blur(18px);border-top:1px solid var(--line);padding:10px 6px max(12px,env(safe-area-inset-bottom))}.mobile-nav .nav-item{margin:0;padding:0 8px;display:flex;flex-direction:column;gap:4px;border-radius:0;background:transparent;width:auto;min-width:52px;line-height:1.3;color:#b19d93;font-size:8px}.mobile-nav .nav-item span{display:block}.mobile-nav .nav-item svg{width:19px;height:19px}.mobile-nav .nav-item.active{color:var(--accent)}.drawer{width:100%;border-radius:0}.drawer-header{padding:19px 18px}.drawer-header h2{font-size:18px}.drawer-content{padding:20px 18px}.drawer-footer{padding:14px 18px max(14px,env(safe-area-inset-bottom))}.drawer-footer .privacy-note{max-width:none;flex-basis:100%;font-size:9px;margin-bottom:2px}.form-grid{gap:14px 11px}.field label{font-size:10px}.field input,.field select,.field textarea{font-size:12px;padding:9px;min-height:43px}.field small{font-size:9px}.summary{padding:16px}.summary-row{font-size:11px}.summary-row.total strong{font-size:19px}.toast{left:50%;bottom:86px;font-size:11px;white-space:normal;min-width:200px;text-align:center}.metrics{gap:8px}.metrics>div{padding:12px 10px}.metrics strong{font-size:18px}.metrics small{font-size:9px}.detail-grid{padding:15px;gap:13px}.detail-grid>div{font-size:11px}.detail-grid small{font-size:9px}.calendar-footer{font-size:8px;gap:10px}.calendar-footer .actions{gap:7px}.privacy-note{font-size:9px}.copy-box{font-size:11px;padding:15px}.alert{font-size:10px;padding:10px 12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Final integration and readable Thai text. */
.brand-sub{display:block}.sidebar-footer{flex-direction:column;align-items:flex-start}.sidebar-footer>.privacy-note{margin:0 0 20px;font-size:13px;color:#a27f71}.timeline-row .event{height:51px;padding:5px 9px}.event-name{font-size:11px}.event-time{font-size:10px}.event-meta{font-size:8px}.status.awaiting_payment{background:#faf0df;color:#967445}.status.inquiry{background:#f4ece8;color:#9b7260}.status.waitlist{background:#f8e8e3;color:#a25e4c}.status.review{background:#f5ebd9;color:#977038}.status.cancelled{background:#f2eeee;color:#988e8e}.timeline-row .event:hover{z-index:5}.booking-card>button{border-radius:0 0 12px 12px}.booking-body{align-items:center}.booking-info h3{font-size:15px}.booking-info p{margin-top:12px}.booking-money{font-size:11px}.booking-money>strong{display:block;font-size:22px;color:var(--ink);margin:3px 0}.detail-grid{margin:18px 0}.drawer-content p{margin:12px 0}.request-meta{margin:10px 0}.summary-row{line-height:1.8}.status{white-space:nowrap}input.date-control,#search{border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);padding:7px 10px;font-size:12px}#statusFilters{overflow-x:auto;border-radius:0;padding:12px 20px}#statusFilters .tab{white-space:nowrap}#view-pricing .workspace-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.toolbar>span{font-size:12px}.stat-label{max-width:80%}.timeline-head .hours{position:relative}.timeline-head .hour-label:last-child{transform:translateX(-100%)}.stat-value{padding-top:4px}.timeline-row .event-name,.timeline-row .event-time,.timeline-row .event-meta{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:760px) and (min-width:561px){.sidebar .brand>span:last-child{display:none}.sidebar .nav-item{font-size:0}.sidebar .nav-item>span:first-child{display:block;font-size:20px}.sidebar-footer{display:none}}
@media(max-width:560px){.topbar{flex-wrap:wrap}.topbar>.actions{max-width:none;width:100%;justify-content:flex-start;margin-top:8px}.topbar .btn{font-size:11px}.stat-icon{display:none}.panel-header{flex-wrap:wrap}.team-cards{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.detail-grid{grid-template-columns:1fr}.summary-row.total strong{font-size:16px}.mobile-nav .nav-item{font-size:9px}.mobile-nav .nav-item span{font-size:18px}#view-pricing .workspace-grid{grid-template-columns:1fr}.toolbar{flex-wrap:wrap}.request-card .actions{justify-content:space-between}.booking-body{display:flex;justify-content:space-between;gap:8px}.booking-money{min-width:100px;text-align:right}.booking-money>strong{font-size:19px}}
@media(max-width:560px){.booking-body{display:block}.booking-money{display:flex;flex-wrap:wrap;text-align:left;gap:5px;min-width:0}.booking-money .muted:last-child{flex-basis:100%}.booking-info h3{font-size:15px}.booking-money>strong{font-size:21px}.form-grid .check-row{align-items:center}.drawer .summary-row{flex-wrap:wrap}.stat-label,.stat-meta{color:#8c7a73}.topbar p{color:#87736c}}
.timeline-row .event{height:55px;padding:4px 7px}.timeline-row .event-name,.timeline-row .event-time,.timeline-row .event-meta{line-height:1.4}.privacy-note{color:#9b8175}.muted{color:#8e7c77}
/* soulbuild: black, ivory and the supplied SB mark. */
:root{--bg:#faf9f6;--ink:#242424;--accent:#242424;--accent-dark:#080808;--rose:#eeece7;--muted:#817c75}
.brand-mark{display:block;width:48px;height:48px;border-radius:50%;overflow:hidden;flex-shrink:0;background:#fff}.brand-mark img{display:block;width:100%;height:100%;object-fit:cover}.sidebar .brand{font-size:23px;letter-spacing:.015em;padding-left:4px;padding-right:4px;gap:9px}.sidebar .brand-mark{width:45px;height:45px}.btn.soft{background:#eeede8;border-color:#eeede8;color:#242424}.btn.primary{box-shadow:0 3px 9px #0000000b}.nav-item.active,.nav-item:hover{background:#efeee9;color:#242424}.avatar{background:#eeece7;color:#4f4b45}.demo-note{background:#f3f1ea;border-color:#e7e3d9;color:#796d59}.summary-row.total strong{color:#242424}.sidebar-footer>.privacy-note{color:#81796d}.stat-card .stat-icon{color:#6e6961}.eyebrow{color:#918579}
@media(max-width:760px) and (min-width:561px){.sidebar .brand>span:last-child{display:none}.sidebar .brand{padding-left:0;padding-right:0;gap:0}.sidebar .brand-mark{width:42px;height:42px}}

/* Demo workspace controls: choose a role without creating an account. */
.demo-rolebar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:0 0 18px;padding:16px 18px;background:#fff;border:1px solid #e8e5de;border-radius:16px;box-shadow:0 4px 20px #24242403}
.demo-rolebar>label,.demo-rolebar label{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:12px;font-weight:550;color:#514c45;line-height:1.7}
.demo-rolebar select{appearance:auto;min-height:42px;max-width:100%;width:auto;min-width:162px;padding:9px 34px 9px 12px;border:1px solid #dfdbd2;border-radius:9px;background:#faf9f6;color:#292724;font-size:12px;line-height:1.5;cursor:pointer;outline:none;transition:border-color .15s,box-shadow .15s}
.demo-rolebar select:focus{border-color:#6b655d;box-shadow:0 0 0 3px #2424240b}
.demo-role-hint{display:block;flex:1 1 100%;margin:0;font-size:11px;line-height:1.85;color:#777067}
.demo-role-summary{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-left:auto;font-size:12px;color:#514b43;line-height:1.7}
.demo-role-summary strong{font-weight:650;color:#292724}
.demo-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:16px 0;color:#6d665c;font-size:12px}
.demo-toolbar p{margin:0;line-height:1.85}
.demo-reset{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:7px 12px;border:1px solid #ded9d0;border-radius:8px;background:#fff;color:#6b6257;font-size:11px;font-weight:500;cursor:pointer;transition:background .15s,border-color .15s}
.demo-reset:hover{background:#f4f1eb;border-color:#bcb3a5}
.demo-live-link{display:inline-flex;align-items:center;gap:5px;color:#6f675c;font-size:11px;line-height:1.7;text-decoration:underline;text-decoration-color:#c6beb1;text-underline-offset:4px;transition:color .15s}
.demo-live-link:hover{color:#242424;text-decoration-color:#242424}
.demo-badge{display:inline-flex;align-items:center;gap:6px;border-radius:20px;background:#292724;color:#fffdf8;padding:5px 10px;font-size:10px;font-weight:550;line-height:1.5;letter-spacing:.015em;white-space:nowrap}
.demo-staff-panel{display:grid;gap:16px;margin-top:20px}
.demo-staff-panel>h2,.demo-staff-panel>h3{margin:0;font-size:16px;color:#292724;font-weight:650}
.demo-staff-panel>p{margin:0;color:#777067;font-size:12px;line-height:1.85}
.demo-job-card{padding:20px;background:#fff;border:1px solid #e8e5de;border-radius:16px;box-shadow:0 4px 20px #24242403;min-width:0}
.demo-job-card h3{margin:0 0 10px;font-size:15px;font-weight:650;color:#292724}
.demo-job-card p{font-size:12px;line-height:1.9;color:#72685e;overflow-wrap:anywhere}
.demo-job-card .actions{margin-top:16px}
.demo-job-card .detail-grid{margin:14px 0 0;padding:0;border:0;border-radius:0}
.demo-totals{display:flex;align-items:stretch;flex-wrap:wrap;gap:12px;margin-top:16px;padding-top:15px;border-top:1px solid #ece8e0}
.demo-totals>div{flex:1 1 120px;padding:12px 14px;border-radius:10px;background:#f6f4ee;color:#70675c;font-size:11px;line-height:1.8}
.demo-totals strong{display:block;margin-top:2px;color:#292724;font-size:20px;font-weight:650;letter-spacing:-.025em}
.demo-totals small{font-size:10px;color:#82786b}
@media(max-width:760px){.demo-rolebar{gap:10px;padding:15px}.demo-role-summary{margin-left:0}.demo-role-hint{font-size:10px}.demo-rolebar select{min-width:150px}}
@media(max-width:560px){.demo-rolebar{gap:12px;margin-bottom:16px;padding:15px;border-radius:14px}.demo-rolebar>label,.demo-rolebar label{width:100%;gap:7px;font-size:12px}.demo-rolebar select{width:100%;min-width:0;min-height:44px;padding:10px 12px;font-size:13px}.demo-role-summary{width:100%;font-size:11px}.demo-role-hint{font-size:11px;line-height:1.8}.demo-toolbar{align-items:flex-start;font-size:11px;gap:10px}.demo-live-link{font-size:11px}.demo-reset{min-height:39px}.demo-job-card{padding:17px;border-radius:14px}.demo-job-card h3{font-size:14px}.demo-job-card p{font-size:12px}.demo-totals{gap:9px}.demo-totals>div{padding:11px 12px;flex-basis:calc(50% - 5px)}.demo-totals strong{font-size:19px}.demo-staff-panel{gap:13px}}
.demo-staff #view-dashboard>.workspace-grid{grid-template-columns:1fr}.demo-staff .stats{grid-template-columns:repeat(2,minmax(0,1fr))}#view-pricing .demo-live-link{margin:0 25px 25px}.demo-role-hint{flex-basis:100%}

/* One booking, one clear next step. */
.workflow-shell{position:relative;min-width:0;padding-bottom:24px;color:#292724;scroll-padding-top:145px;scroll-padding-bottom:100px}
.workflow-status{position:sticky;top:0;z-index:12;padding:16px 18px;margin:0 0 16px;border:1px solid #e1dbd1;border-radius:13px;background:#fffefa;box-shadow:0 5px 20px #29272409}
.workflow-status .status{margin:0;font-size:11px;line-height:1.6;font-weight:650;padding:5px 9px;border-radius:6px}
.workflow-status .status.inquiry{background:#eee8e1;color:#654f3e}.workflow-status .status.awaiting_payment,.workflow-status .status.review{background:#f9edca;color:#775207}.workflow-status .status.confirmed,.workflow-status .status.done{background:#e4eedc;color:#365828}.workflow-status .status.waitlist{background:#fbe4df;color:#962e22}.workflow-status .status.cancelled{background:#eeeae6;color:#665a52}
.workflow-next{margin-top:8px;font-size:13px;font-weight:550;line-height:1.85;color:#3d372f;overflow-wrap:anywhere}
.workflow-next small{font-size:11px;font-weight:400;color:#71675b}
.workflow-steps{display:flex;align-items:stretch;gap:6px;overflow-x:auto;overscroll-behavior-inline:contain;padding:2px 1px 10px;margin:0 0 14px;scrollbar-width:thin;scrollbar-color:#d5cabb transparent}
.workflow-step{position:relative;flex:1 0 86px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;min-height:56px;padding:9px 7px;border:1px solid #e5dfd6;border-radius:9px;background:#f6f3ee;color:#776c5f;text-align:center;font-size:11px;line-height:1.65;white-space:nowrap;font-weight:500}
button.workflow-step{cursor:pointer}.workflow-step.active{background:#292724;border-color:#292724;color:#fffefa;box-shadow:0 3px 10px #29272414;font-weight:650}.workflow-step.done{background:#edf1e7;border-color:#d8e1ce;color:#456035}.workflow-step.active.done{background:#292724;border-color:#292724;color:#fffefa}
.workflow-step .step-index,.workflow-step .step-number{display:inline-grid;place-items:center;width:21px;height:21px;flex-shrink:0;border-radius:50%;background:#e9e2d8;color:#635747;font-size:10px;font-weight:650;line-height:1}.workflow-step.active .step-index,.workflow-step.active .step-number{background:#ffffff25;color:#fffefa}.workflow-step.done .step-index,.workflow-step.done .step-number{background:#dfe8d3;color:#456035}.workflow-step small{font-size:10px;color:inherit;opacity:.85}
.workflow-section{margin:0 0 14px;border:1px solid #e4ded5;border-radius:12px;background:#fff;overflow:hidden;scroll-margin-top:145px}
.workflow-section summary{position:relative;display:flex;align-items:center;gap:9px;min-height:52px;padding:14px 43px 14px 17px;font-size:13px;font-weight:650;line-height:1.8;color:#38312a;list-style:none;cursor:pointer;background:#fff;outline-offset:-4px}
.workflow-section summary::-webkit-details-marker{display:none}.workflow-section summary::marker{content:''}.workflow-section summary::after{content:'＋';position:absolute;right:16px;top:50%;transform:translateY(-50%);font-size:16px;font-weight:400;color:#8c7e6b;line-height:1}
.workflow-section[open]{border-color:#d7caba}.workflow-section[open]>summary{background:#fbf9f4;border-bottom:1px solid #ece5da}.workflow-section[open]>summary::after{content:'−';color:#4d4336}
.workflow-section>div,.workflow-section>form,.workflow-section>section{padding:17px}.workflow-section>.workflow-grid{padding:17px}.workflow-section>p{margin:0;padding:0 17px 17px}.workflow-section .summary{margin-top:14px}.workflow-section .detail-grid{margin:0;border:0;padding:0}.workflow-section .form-grid{margin:0}.workflow-section .alert{margin:12px 0 0}.workflow-section summary .status{margin:0;font-size:9px;flex-shrink:0}.workflow-section summary small{font-size:10px;font-weight:400;color:#8a7b68}
.workflow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;min-width:0}.workflow-grid>.full{grid-column:1/-1}.workflow-grid>.field{min-width:0}.workflow-grid .field label{color:#655849;font-size:12px}.workflow-grid input,.workflow-grid select,.workflow-grid textarea{min-height:44px}.workflow-grid .check-row{margin:0;min-height:44px;align-items:center}
.workflow-actions{position:sticky;bottom:0;z-index:11;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:9px;margin-top:20px;padding:14px 0 3px;border-top:1px solid #dfd7ca;background:#faf9f6;box-shadow:0 -12px 18px #faf9f6f2}
.workflow-actions .btn,.workflow-actions button{min-height:44px}.workflow-actions .workflow-note{flex-basis:100%;margin:0;font-size:11px}.workflow-actions>.btn.primary{flex:1}.drawer-content:has(.workflow-shell){padding-bottom:32px}
.workflow-money{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:7px 14px;padding:8px 0;border-bottom:1px solid #eee8df;font-size:12px;line-height:1.7;color:#746451}.workflow-money:last-child{border-bottom:0}.workflow-money strong{color:#292724;font-weight:650;font-size:14px}.workflow-money small{font-size:10px;color:#877966}.workflow-money.total{padding-top:13px;color:#292724;font-weight:650}.workflow-money.total strong{font-size:21px}
.workflow-map-actions{display:flex;align-items:stretch;flex-wrap:wrap;gap:9px;margin-top:12px}.workflow-map-actions a,.workflow-map-actions button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:10px 13px;border:1px solid #d9d0c2;border-radius:9px;background:#faf8f2;color:#544534;font-size:11px;font-weight:550;line-height:1.8;text-align:center;overflow-wrap:anywhere}.workflow-map-actions a:hover,.workflow-map-actions button:hover{background:#f0eade;border-color:#baaa92}
.workflow-error{margin:12px 0;padding:12px 14px;border:1px solid #ebc5bf;border-left:3px solid #c83434;border-radius:9px;background:#fff0ed;color:#982e27;font-size:12px;line-height:1.85;overflow-wrap:anywhere}.workflow-error:empty{display:none}
.workflow-note{margin:10px 0;color:#746653;font-size:11px;line-height:1.85;overflow-wrap:anywhere}.workflow-note strong{color:#4d4030;font-weight:600}
/* Counts retain their visible number and context beside the red signal. */
.attention-badge{position:static;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-width:21px;height:21px;padding:0 6px;border:1px solid #c83434;border-radius:11px;background:#c83434;color:#fff!important;font-family:var(--font);font-size:10px;font-weight:700;line-height:1;letter-spacing:0;text-align:center;vertical-align:middle;box-shadow:0 1px 2px #7f202014}
.nav-item .attention-badge{margin-left:auto;background:#c83434;color:#fff}.mobile-nav .nav-item{position:relative}.nav-attention{position:absolute!important;top:-7px;right:4px;margin:0!important;min-width:18px;height:18px;padding:0 4px;font-size:9px;box-shadow:0 0 0 2px #fffefa}.role-attention{display:inline-flex;align-items:center;gap:6px;margin-left:5px;font-size:11px;font-weight:550;color:#9e2f28;line-height:1.7}.role-attention .attention-badge{min-width:19px;height:19px;font-size:9px}
.attention-card{border-left:3px solid #c83434!important;background:#fff5f2!important}.attention-card .request-meta,.attention-card .muted{color:#8a5e52}.has-attention{--attention-color:#c83434}.nav-item.has-attention:not(.active){color:#9e3a31}.demo-rolebar.has-attention{border-color:#e5c6bd}.workflow-section.has-attention{border-color:#e4b8b0}.workflow-section.has-attention>summary{color:#932f26;background:#fff4f0}.attention-badge[hidden],.nav-attention[hidden],.role-attention[hidden]{display:none!important}
@media(max-width:760px) and (min-width:561px){.sidebar .nav-item .attention-badge{display:inline-flex!important;position:absolute;top:4px;right:2px;margin:0;min-width:18px;height:18px;font-size:9px}.sidebar .nav-item.has-attention{position:relative}}
@media(max-width:560px){.workflow-shell{padding-bottom:24px;scroll-padding-top:150px;scroll-padding-bottom:120px}.workflow-status{top:0;padding:13px 14px;margin-bottom:13px;border-radius:11px}.workflow-status .status{font-size:11px}.workflow-next{font-size:13px;line-height:1.8}.workflow-steps{gap:5px;margin-bottom:11px;padding-bottom:9px}.workflow-step{flex-basis:82px;min-height:53px;padding:8px 6px;font-size:11px}.workflow-grid{grid-template-columns:1fr;gap:13px}.workflow-grid>.full{grid-column:auto}.workflow-grid input,.workflow-grid select,.workflow-grid textarea,.workflow-shell .field input,.workflow-shell .field select,.workflow-shell .field textarea{font-size:16px;min-height:44px}.workflow-grid .field label{font-size:12px}.workflow-section{margin-bottom:12px;border-radius:11px;scroll-margin-top:150px}.workflow-section summary{min-height:52px;padding:13px 38px 13px 14px;font-size:12px}.workflow-section summary::after{right:13px}.workflow-section>div,.workflow-section>form,.workflow-section>section,.workflow-section>.workflow-grid{padding:14px}.workflow-section>p{padding:0 14px 14px}.workflow-section summary small{font-size:10px}.workflow-actions{padding:12px 0 max(3px,env(safe-area-inset-bottom));gap:8px;margin-top:17px}.workflow-actions .btn,.workflow-actions button{min-height:44px;padding:11px 12px;font-size:12px;white-space:normal}.workflow-actions>.btn.primary{flex-basis:100%;order:-1}.workflow-actions .workflow-note{font-size:10px;order:2}.drawer-content:has(.workflow-shell){padding-bottom:30px}.workflow-money{font-size:12px;padding:8px 0}.workflow-money strong{font-size:14px}.workflow-money.total strong{font-size:20px}.workflow-map-actions{flex-direction:column;gap:8px}.workflow-map-actions a,.workflow-map-actions button{width:100%;min-height:44px;font-size:12px;padding:10px 12px}.workflow-error{font-size:12px;padding:11px 12px}.workflow-note{font-size:11px}.mobile-nav .nav-item .nav-attention{display:inline-flex;top:-6px;right:3px;min-width:18px;height:18px;font-size:9px}.role-attention{margin-left:0;font-size:11px}.attention-card .request-top strong{color:#693a31}}
@media(prefers-reduced-motion:reduce){.workflow-shell,.workflow-steps,.workflow-step,.workflow-section,.workflow-actions,.attention-badge,.nav-attention{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
