
    #tattoo-mobile { padding:24px 12px; color-scheme:light dark; }
    #tattoo-mobile .phone { --paper:light-dark(#fcfcfa,#171a19); --ink:light-dark(#172620,#eef3ee); --muted:light-dark(#626e67,#a7b5ac); --line:light-dark(#e1e7e1,#354039); --wash:light-dark(#f0f3ee,#222b25); --accent:light-dark(#205c42,#b4dfb9); --onaccent:light-dark(#ffffff,#16291e); --paid:light-dark(#e4f0e5,#293d2f); --warn:light-dark(#785320,#e6c28d); --warnbg:light-dark(#faf0df,#3b3021); font-family:system-ui,sans-serif; font-size:14px; line-height:1.45; color:var(--ink); background:var(--paper); width:100%; max-width:430px; margin:auto; border:1px solid var(--line); border-radius:30px; overflow:hidden; box-shadow:0 16px 55px light-dark(#17262016,#00000030); }
    #tattoo-mobile * { box-sizing:border-box; }
    #tattoo-mobile [hidden] { display:none!important; }
    #tattoo-mobile button,#tattoo-mobile input { font:inherit; }
    #tattoo-mobile button { color:inherit; }
    #tattoo-mobile .top { padding:23px 22px 16px; display:flex; align-items:center; justify-content:space-between; gap:10px; }
    #tattoo-mobile .brand { font-size:17px; font-weight:650; letter-spacing:2px; }
    #tattoo-mobile .small { font-size:12px; color:var(--muted); }
    #tattoo-mobile .avatar { background:var(--wash); width:38px; height:38px; border-radius:50%; display:grid; place-items:center; font-weight:600; }
    #tattoo-mobile .content { padding:0 20px 22px; }
    #tattoo-mobile h2 { font-size:28px; line-height:1.15; font-weight:600; letter-spacing:-1px; margin:9px 0 7px; }
    #tattoo-mobile h3 { font-size:17px; font-weight:600; margin:0; }
    #tattoo-mobile p { margin:0; }
    #tattoo-mobile .eyebrow { color:var(--muted); font-size:11px; letter-spacing:1.8px; text-transform:uppercase; }
    #tattoo-mobile .week { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:3px; margin:23px 0; }
    #tattoo-mobile .day { text-align:center; padding:9px 0; color:var(--muted); font-size:11px; border-radius:13px; }
    #tattoo-mobile .day span { display:block; font-size:16px; margin-top:5px; color:var(--ink); }
    #tattoo-mobile .day.current { background:var(--accent); color:var(--onaccent); }
    #tattoo-mobile .day.current span { color:var(--onaccent); }
    #tattoo-mobile .row { display:flex; align-items:center; justify-content:space-between; gap:10px; }
    #tattoo-mobile .section { margin:22px 0 12px; }
    #tattoo-mobile .appointment { display:block; width:100%; text-align:left; border:1px solid var(--line); border-radius:18px; padding:16px; background:var(--paper); margin:12px 0; }
    #tattoo-mobile .appointment.featured { background:var(--wash); }
    #tattoo-mobile .time { font-size:13px; color:var(--muted); margin-bottom:10px; }
    #tattoo-mobile .client { font-size:19px; font-weight:600; margin-bottom:3px; }
    #tattoo-mobile .desc { color:var(--muted); font-size:13px; }
    #tattoo-mobile .badge { display:inline-flex; align-items:center; gap:5px; border-radius:8px; padding:6px 9px; background:var(--paid); color:var(--accent); font-size:12px; font-weight:550; }
    #tattoo-mobile .badge.pending { background:var(--warnbg); color:var(--warn); }
    #tattoo-mobile .footerline { margin-top:15px; padding-top:12px; border-top:1px solid var(--line); }
    #tattoo-mobile .icon { display:flex; align-items:center; gap:5px; color:var(--muted); font-size:12px; }
    #tattoo-mobile .icon svg { width:14px; height:14px; }
    #tattoo-mobile .primary { border:0; background:var(--accent); color:var(--onaccent); border-radius:13px; padding:14px 16px; min-height:46px; width:100%; font-weight:550; }
    #tattoo-mobile .secondary { border:1px solid var(--line); background:var(--paper); border-radius:12px; padding:11px 13px; min-height:44px; }
    #tattoo-mobile .textbtn { background:none; border:0; padding:10px 0; min-height:44px; color:var(--accent); font-size:13px; }
    #tattoo-mobile .back { display:flex; align-items:center; gap:8px; border:0; background:none; padding:0; min-height:44px; }
    #tattoo-mobile .back svg { width:18px; height:18px; }
    #tattoo-mobile .projecthead { padding-bottom:21px; border-bottom:1px solid var(--line); }
    #tattoo-mobile .when { margin-top:14px; display:flex; gap:7px; align-items:center; font-size:13px; }
    #tattoo-mobile .when svg { width:16px; height:16px; }
    #tattoo-mobile .payment { padding:18px; border-radius:17px; background:var(--paid); }
    #tattoo-mobile .paymentlabel { color:var(--accent); display:flex; gap:6px; align-items:center; font-size:13px; }
    #tattoo-mobile .paymentlabel svg { width:17px; height:17px; }
    #tattoo-mobile .amount { font-size:30px; font-weight:600; letter-spacing:-1px; margin:4px 0; font-variant-numeric:tabular-nums; }
    #tattoo-mobile .paydate { color:var(--muted); font-size:12px; }
    #tattoo-mobile .balance { padding:14px 1px; border-bottom:1px solid var(--line); display:grid; grid-template-columns:1fr 1fr; gap:10px; }
    #tattoo-mobile .balance strong { display:block; margin-top:4px; font-size:18px; font-weight:550; }
    #tattoo-mobile .upload { display:flex; min-height:114px; padding:18px; border:1px dashed var(--line); border-radius:15px; background:var(--wash); align-items:center; justify-content:center; text-align:center; width:100%; gap:10px; }
    #tattoo-mobile .upload svg { width:23px; height:23px; color:var(--accent); flex-shrink:0; }
    #tattoo-mobile .upload img { max-width:100%; max-height:240px; object-fit:contain; border-radius:8px; }
    #tattoo-mobile .note { padding:14px 16px; border-radius:13px; background:var(--wash); font-size:13px; color:var(--muted); }
    #tattoo-mobile .edit { background:var(--wash); padding:16px; border-radius:14px; margin:12px 0; }
    #tattoo-mobile .edit label { display:block; font-size:12px; margin-bottom:6px; }
    #tattoo-mobile .edit input { width:100%; min-width:0; padding:11px; border:1px solid var(--line); border-radius:9px; background:var(--paper); color:var(--ink); font-size:16px; }
    #tattoo-mobile .edit .row { margin-top:10px; }
    #tattoo-mobile .error { font-size:12px; color:var(--warn); margin-top:6px; }
    #tattoo-mobile .homebar { width:100px; height:4px; border-radius:8px; background:var(--ink); opacity:.25; margin:2px auto 10px; }
    #tattoo-mobile .prototype { font:12px system-ui,sans-serif; text-align:center; color:light-dark(#626e67,#a7b5ac); margin:14px 0 0; }
    #tattoo-mobile .day { border:0; background:none; font:inherit; font-size:11px; min-height:52px; }
    #tattoo-mobile .record { border:1px solid var(--line); border-radius:18px; padding:15px; margin:12px 0; background:var(--paper); }
    #tattoo-mobile .record:first-child { background:var(--wash); }
    #tattoo-mobile .openrecord { border:0; background:none; text-align:left; width:100%; padding:0; min-height:70px; }
    #tattoo-mobile .record .footerline { display:grid; gap:10px; }
    #tattoo-mobile .quickdeposit { background:var(--accent); color:var(--onaccent); border:0; border-radius:11px; min-height:46px; padding:11px 14px; width:100%; text-align:center; font-weight:550; }
    #tattoo-mobile .paidrow { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:4px; }
    #tattoo-mobile .paidrow .textbtn { padding:0 4px; }
    #tattoo-mobile .empty-payment { background:var(--warnbg); }
    #tattoo-mobile .empty-payment .paymentlabel { color:var(--warn); }
    #tattoo-mobile .payment .primary { margin-top:14px; }
    #tattoo-mobile .field { display:block; margin:15px 0; font-size:12px; color:var(--muted); }
    #tattoo-mobile .field input,#tattoo-mobile .field textarea { display:block; width:100%; min-width:0; margin-top:6px; padding:12px; font-size:16px; border:1px solid var(--line); border-radius:10px; background:var(--paper); color:var(--ink); }
    #tattoo-mobile .field textarea { resize:vertical; min-height:76px; }
    #tattoo-mobile .twocol { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:12px; }
    #tattoo-mobile .check { display:flex; gap:9px; align-items:center; min-height:46px; font-size:14px; }
    #tattoo-mobile .check input { width:20px; height:20px; accent-color:var(--accent); }
    #tattoo-mobile .notice { margin:0 0 14px; padding:11px 13px; background:var(--paid); color:var(--accent); border-radius:10px; font-size:13px; }
    #tattoo-mobile .moneyinput { font-size:28px!important; font-variant-numeric:tabular-nums; }
    #tattoo-mobile .quickamounts { display:flex; gap:7px; flex-wrap:wrap; margin:10px 0 18px; }
    #tattoo-mobile .quickamounts button { flex:1; font-size:13px; padding:9px 6px; }
    #tattoo-mobile .gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-bottom:10px; }
    #tattoo-mobile .filecard { min-width:0; background:var(--wash); padding:8px; border-radius:12px; }
    #tattoo-mobile .filecard img { display:block; width:100%; height:120px; object-fit:contain; }
    #tattoo-mobile .filecard .small { overflow-wrap:anywhere; display:block; margin-top:5px; }
    #tattoo-mobile .filecard button { width:100%; border:0; background:none; min-height:44px; color:var(--muted); font-size:12px; }
    #tattoo-mobile .files-note { margin-top:7px; }
    #tattoo-mobile .schedulehead { display:flex; align-items:center; justify-content:space-between; gap:10px; }
    #tattoo-mobile .schedulehead button { width:auto; }
    #tattoo-mobile .foot-actions { margin-top:20px; }
    #tattoo-mobile .previewroles { display:flex; flex-wrap:wrap; gap:6px; align-items:center; justify-content:center; font:12px system-ui,sans-serif; color:light-dark(#626e67,#a7b5ac); margin:0 auto 18px; }
    #tattoo-mobile .previewroles button { font:13px system-ui,sans-serif; min-height:44px; border-radius:10px; padding:8px 12px; border:1px solid light-dark(#dce4dc,#354039); color:light-dark(#172620,#eef3ee); background:light-dark(#fcfcfa,#171a19); }
    #tattoo-mobile .previewroles button[aria-pressed="true"] { background:light-dark(#205c42,#b4dfb9); color:light-dark(#fff,#16291e); }
    #tattoo-mobile .bottomnav { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:3px; border-top:1px solid var(--line); padding:10px 12px; margin-top:12px; }
    #tattoo-mobile .bottomnav button { min-height:56px; border:0; border-radius:12px; padding:6px 0; background:none; color:var(--muted); display:flex; flex-direction:column; align-items:center; gap:5px; font-size:11px; }
    #tattoo-mobile .bottomnav button[aria-current="page"] { background:var(--paid); color:var(--accent); font-weight:600; }
    #tattoo-mobile .bottomnav svg { width:19px; height:19px; }
    #tattoo-mobile .switch { display:flex; background:var(--wash); border-radius:12px; padding:4px; gap:3px; margin:17px 0; }
    #tattoo-mobile .switch button { flex:1; min-height:42px; padding:8px; border:0; border-radius:9px; background:none; font-size:13px; color:var(--muted); }
    #tattoo-mobile .switch button[aria-pressed="true"] { background:var(--paper); color:var(--ink); box-shadow:0 2px 5px light-dark(#17262010,#00000030); }
    #tattoo-mobile .weekmatrix { border-collapse:separate; border-spacing:3px 7px; table-layout:fixed; width:100%; margin:8px 0; }
    #tattoo-mobile .weekmatrix th { font-size:11px; font-weight:400; color:var(--muted); padding:4px 0; }
    #tattoo-mobile .weekmatrix th:first-child { width:54px; text-align:left; }
    #tattoo-mobile .weekmatrix th span { display:block; font-size:13px; color:var(--ink); }
    #tattoo-mobile .weekmatrix td { padding:0; }
    #tattoo-mobile .weekmatrix .mastername { font-size:12px; font-weight:500; color:var(--ink); }
    #tattoo-mobile .cell { display:grid; place-items:center; width:100%; min-height:48px; border:0; border-radius:8px; font-size:11px; padding:3px 0; background:var(--paid); color:var(--accent); }
    #tattoo-mobile .cell.off { background:var(--wash); color:var(--muted); }
    #tattoo-mobile .cell.unknown { background:none; border:1px dashed var(--line); color:var(--muted); }
    #tattoo-mobile .cell.short { background:var(--warnbg); color:var(--warn); }
    #tattoo-mobile .cell.partial:not(.short) { background:var(--wash); color:var(--ink); }
    #tattoo-mobile .cell small { font-size:11px; font-weight:400; }
    #tattoo-mobile .legend { display:flex; flex-wrap:wrap; gap:8px 14px; font-size:11px; color:var(--muted); margin:12px 0 18px; }
    #tattoo-mobile .legend span { display:flex; align-items:center; gap:5px; }
    #tattoo-mobile .swatch { width:9px; height:9px; background:var(--paid); border-radius:3px; }
    #tattoo-mobile .swatch.off { background:var(--wash); }
    #tattoo-mobile .weeknav { display:flex; justify-content:space-between; align-items:center; gap:5px; }
    #tattoo-mobile .weeknav .textbtn { min-width:40px; font-size:20px; }
    #tattoo-mobile .workercard { border:1px solid var(--line); border-radius:17px; padding:16px; margin:12px 0; }
    #tattoo-mobile .workerhead { display:flex; gap:10px; align-items:center; margin-bottom:12px; }
    #tattoo-mobile .workerhead .avatar { flex-shrink:0; }
    #tattoo-mobile .muterow { padding:9px 0; border-top:1px solid var(--line); font-size:13px; }
    #tattoo-mobile .slots { display:flex; flex-wrap:wrap; gap:8px; margin:13px 0; }
    #tattoo-mobile .slots button { padding:11px; flex:1 0 40%; font-size:13px; }
    #tattoo-mobile select { display:block; width:100%; min-width:0; font:inherit; font-size:16px; padding:11px; margin-top:6px; border:1px solid var(--line); border-radius:10px; background:var(--paper); color:var(--ink); }
    #tattoo-mobile .listing { display:block; text-align:left; width:100%; border:0; border-bottom:1px solid var(--line); background:none; padding:17px 0; min-height:65px; }
    #tattoo-mobile .listing strong { display:block; font-size:16px; font-weight:550; margin-bottom:5px; }
    #tattoo-mobile .listing .small { display:block; }
    #tattoo-mobile .linkrow { display:flex; align-items:center; justify-content:space-between; width:100%; text-align:left; border:0; border-bottom:1px solid var(--line); background:none; padding:13px 0; min-height:48px; }
    #tattoo-mobile .tagrow { display:flex; flex-wrap:wrap; gap:7px; margin:15px 0; }
    #tattoo-mobile .stocknum { font-size:24px; font-weight:550; margin:5px 0; }
    #tattoo-mobile .materialrow { display:grid; grid-template-columns:minmax(0,1fr) 70px; align-items:center; gap:12px; padding:10px 0; border-bottom:1px solid var(--line); }
    #tattoo-mobile .materialrow input { width:100%; min-height:44px; font:inherit; font-size:16px; color:var(--ink); background:var(--paper); border:1px solid var(--line); border-radius:9px; padding:8px; }
    #tattoo-mobile .materialrow label { font-size:13px; }
    #tattoo-mobile .materialrow .small { display:block; }
    #tattoo-mobile .smallblock { margin:12px 0; }
    #tattoo-mobile .message-preview { white-space:pre-wrap; overflow-wrap:anywhere; font:14px/1.55 system-ui,sans-serif; background:var(--wash); padding:17px; border-radius:16px; margin:14px 0; }
    #tattoo-mobile .sharefiles { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:12px 0; }
    #tattoo-mobile .sharefiles img { display:block; width:100%; height:120px; object-fit:contain; border-radius:8px; background:var(--wash); }
    #tattoo-mobile .sharefiles .small { overflow-wrap:anywhere; }
    #tattoo-mobile .share-empty { padding:13px; margin:12px 0; border-radius:12px; background:var(--warnbg); color:var(--warn); font-size:13px; }
    #tattoo-mobile .phone .error { margin:12px 0; }
    #tattoo-mobile .phone button:disabled { opacity:.5; cursor:not-allowed; }
    #tattoo-mobile .onboarding { padding-top:8px; }
    #tattoo-mobile .steps { font-size:12px; color:var(--muted); margin-bottom:18px; }
    #tattoo-mobile .bigprice { font-size:36px; font-weight:600; letter-spacing:-1px; margin:22px 0 8px; }
    #tattoo-mobile .bigprice span { font-size:14px; color:var(--muted); font-weight:400; letter-spacing:0; }
    #tattoo-mobile .benefit { padding:12px 0; border-bottom:1px solid var(--line); font-size:14px; }
    #tattoo-mobile .invitecode { letter-spacing:2px; font-size:24px; font-weight:550; padding:15px; margin:14px 0; border:1px dashed var(--line); border-radius:12px; text-align:center; }
    #tattoo-mobile .teamstatus { display:block; margin:7px 0; color:var(--muted); font-size:12px; }
    #tattoo-mobile .studiointro { margin-bottom:20px; }
    #tattoo-mobile .week-row { display:grid; grid-template-columns:55px minmax(0,1fr) 10px minmax(0,1fr); gap:7px; align-items:center; padding:10px 0; border-bottom:1px solid var(--line); }
    #tattoo-mobile .week-row label { display:flex; align-items:center; gap:5px; font-size:13px; min-height:44px; }
    #tattoo-mobile .week-row input[type="checkbox"] { width:18px; height:18px; accent-color:var(--accent); }
    #tattoo-mobile .week-row input[type="time"] { width:100%; min-width:0; padding:11px 4px; color:var(--ink); background:var(--paper); border:1px solid var(--line); border-radius:9px; font:16px system-ui,sans-serif; }
    #tattoo-mobile .week-row input:disabled { opacity:.4; }
    #tattoo-mobile .calculated { padding:13px 15px; border-radius:13px; background:var(--paid); color:var(--accent); font-size:13px; margin:12px 0 17px; }
    #tattoo-mobile .calculated.conflict { background:var(--warnbg); color:var(--warn); }
    #tattoo-mobile .origin-note { margin:-8px 0 13px; }
    #tattoo-mobile .owner-scope { padding:16px 20px 0; }
    #tattoo-mobile .owner-scope .switch { margin:7px 0 0; }
    @media(max-width:360px) { #tattoo-mobile {padding:12px 0;} #tattoo-mobile .content {padding:0 15px 18px;} #tattoo-mobile .top {padding:17px 15px 12px;} }
  
:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#1c2b24;background:#f5f7f3;color-scheme:light;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-tap-highlight-color:transparent}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{touch-action:manipulation}button:not(:disabled),summary{cursor:pointer}button:disabled{cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #83b698;outline-offset:3px}button{font-weight:500}a{color:inherit}body:has(dialog[open]){overflow:hidden}
#tattoo-mobile{--paper:#fff;--ink:#1c2b24;--muted:#5e6b63;--line:#dfe5df;--wash:#f2f5ef;--accent:#205c42;--onaccent:#fff;--paid:#e7f2e6;--warn:#7c4d14;--warnbg:#fff0d8;color-scheme:light;max-width:1280px;margin:0 auto;padding:0 24px 50px 220px;color:var(--ink);font-size:15px;line-height:1.5;min-height:100svh}
#tattoo-mobile .phone{--paper:#fff;--ink:#1c2b24;--muted:#5e6b63;--line:#dfe5df;--wash:#f2f5ef;--accent:#205c42;--onaccent:#fff;--paid:#e7f2e6;--warn:#7c4d14;--warnbg:#fff0d8;width:100%;max-width:none;margin:0;border:0;border-radius:22px;background:#fff;box-shadow:none;overflow:visible;min-height:640px;font:15px/1.5 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
#tattoo-mobile .app-header{height:104px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-left:-196px;position:sticky;top:0;z-index:30;background:#f5f7f3;border-bottom:1px solid #e3e8e0;margin-bottom:24px}
.wordmark{text-decoration:none;letter-spacing:2px;font-size:22px;font-weight:750;display:block;flex-shrink:0}.wordmark span{display:block;font-size:11px;font-weight:400;letter-spacing:.2px;color:#69766b;margin-top:2px}
.header-actions{display:flex;gap:14px;align-items:center}.role-control{display:flex;gap:8px;align-items:center;font-size:12px;color:#5e6b63}.role-control select{font-size:14px;border:1px solid #d8e1d6;border-radius:11px;background:#fff;color:#1c2b24;padding:11px;min-height:44px}.save-state{font-size:12px;color:#516b54;max-width:150px}.demo-trigger{border:0;background:none;color:#657367;font-size:13px;min-height:44px;padding:10px}.global-booking{background:#205c42;color:white;border:0;padding:15px 24px;border-radius:14px;font-size:16px;font-weight:650;min-height:52px;box-shadow:0 5px 13px #205c4221;white-space:nowrap}.global-booking:hover{background:#174b35}.global-booking:active{transform:translateY(1px)}
#tattoo-mobile .bottomnav{position:fixed;top:129px;left:max(24px,calc((100vw - 1280px)/2 + 24px));width:170px;border:0;padding:0;display:flex;flex-direction:column;gap:8px;margin:0;background:none;z-index:40}
#tattoo-mobile .bottomnav button{min-height:54px;font-size:14px;display:flex;flex-direction:row;justify-content:flex-start;gap:12px;padding:14px 18px;text-align:left;color:#56685b;border-radius:13px;background:transparent}.bottomnav button::before{font-size:20px;font-weight:400;line-height:1}.bottomnav [data-nav="schedule"]::before{content:'▦'}.bottomnav [data-nav="clients"]::before{content:'♙'}.bottomnav [data-nav="stock"]::before{content:'▤'}.bottomnav [data-nav="team"]::before{content:'⌂'}
#tattoo-mobile .bottomnav button[aria-current="page"]{background:#e4edde;color:#204c35;font-weight:650}
#tattoo-mobile .content{padding:0 32px 32px}#tattoo-mobile .top{padding:25px 32px 12px;min-height:65px}#tattoo-mobile .top .brand{display:none}#tattoo-mobile .top .small{font-size:13px}.avatar{color:#205c42}
#tattoo-mobile h2{font-size:30px;font-weight:650;letter-spacing:-.8px;margin:9px 0 10px;line-height:1.2}#tattoo-mobile h3{font-size:18px;font-weight:600}#tattoo-mobile .eyebrow{font-size:12px;letter-spacing:1.2px}#tattoo-mobile .small{font-size:13px;line-height:1.5}#tattoo-mobile .desc{font-size:14px}.phone [data-new],.phone [data-admin-new]{display:none!important}
#tattoo-mobile .week{gap:8px;margin:20px 0}#tattoo-mobile .day{font-size:12px;min-height:65px;border:1px solid transparent}#tattoo-mobile .day span{font-size:18px}#tattoo-mobile .day:not(.current):hover{background:#edf3e8}#tattoo-mobile .switch{margin:17px 0 20px;gap:5px}#tattoo-mobile .switch button{font-size:14px;min-height:44px}#tattoo-mobile .switch button[aria-pressed="true"]{box-shadow:0 1px 5px #19352112;font-weight:650}
#tattoo-mobile .schedulehead{margin-top:18px}#tattoo-mobile .listing{padding:18px 0;position:relative;padding-right:25px}#tattoo-mobile .listing::after{content:'›';position:absolute;right:3px;top:24px;font-size:22px;color:#72917b}#tattoo-mobile .listing strong{font-size:16px}.listing:hover{background:#f7faf5}
#tattoo-mobile .record{padding:20px;border-radius:16px;background:#fff;margin:14px 0}#tattoo-mobile .record:first-child{background:#f3f7f0}#tattoo-mobile .client{font-size:21px}#tattoo-mobile .footerline{gap:10px}#tattoo-mobile .badge{font-size:13px;padding:8px 11px;border-radius:9px}#tattoo-mobile .time{font-size:14px}
#tattoo-mobile .primary,#tattoo-mobile .quickdeposit{min-height:50px;font-size:15px;font-weight:600;border-radius:12px}#tattoo-mobile .secondary{min-height:46px;font-size:14px;white-space:normal}#tattoo-mobile .textbtn{font-size:14px;min-height:44px}#tattoo-mobile .back{font-size:14px;min-height:46px;padding:7px 0}.phone [hidden]{display:none!important}
#tattoo-mobile .weekmatrix{border-spacing:8px 10px;margin-top:16px}#tattoo-mobile .weekmatrix th:first-child{width:90px}#tattoo-mobile .weekmatrix th{font-size:13px}#tattoo-mobile .weekmatrix th span{font-size:17px}#tattoo-mobile .weekmatrix .mastername{font-size:14px;overflow:hidden;text-overflow:ellipsis}#tattoo-mobile .cell{min-height:80px;border-radius:12px;font-size:18px;font-weight:600;gap:2px;align-content:center}#tattoo-mobile .cell small{font-size:12px;font-weight:400}#tattoo-mobile .cell.unknown{background:#fafbf9}#tattoo-mobile .legend{font-size:13px;gap:8px 16px;line-height:1.5}#tattoo-mobile .weeknav{margin:8px 0 12px}#tattoo-mobile .weeknav .textbtn{border:1px solid #dfe7dc;border-radius:10px;min-width:44px;background:#fff}#tattoo-mobile .weeknav>span{font-size:15px;font-weight:500}
#tattoo-mobile .workercard{padding:20px;background:#fff}#tattoo-mobile .workerhead{margin-bottom:14px}#tattoo-mobile .muterow,#tattoo-mobile .linkrow{font-size:14px}#tattoo-mobile .owner-scope{padding:22px 32px 0}#tattoo-mobile .owner-scope>.small{font-size:12px;color:#6a786a}
#tattoo-mobile .field{font-size:14px;font-weight:500;color:#425849;margin:18px 0}#tattoo-mobile .field input,#tattoo-mobile .field textarea,#tattoo-mobile select{min-height:50px;font-size:16px;font-weight:400;border-color:#d4ded0;border-radius:11px;padding:12px;background:#fff;color:#203226}#tattoo-mobile .field input::placeholder,#tattoo-mobile .field textarea::placeholder{color:#8a958b}#tattoo-mobile .check{font-size:14px;min-height:48px;gap:9px}#tattoo-mobile .check input{width:21px;height:21px;flex-shrink:0}#tattoo-mobile .origin-note{font-size:12px;margin:-9px 0 17px}
#tattoo-mobile .booking-content{max-width:1000px}#tattoo-mobile .booking-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;margin-top:25px}.booking-client,.booking-slot{min-width:0}.booking-client>h3,.booking-slot>h3{margin:0 0 20px!important}.booking-slot{padding-left:30px;border-left:1px solid #e3e8df}.booking-money{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:start}.deposit-entry{padding-top:4px}.deposit-entry>.check{min-height:30px!important;margin:12px 0 6px}.deposit-entry [data-create-deposit] .field{margin-top:7px!important}
#tattoo-mobile .payment-summary{color:#205c42;font-size:13px;font-weight:500;min-height:20px;margin-top:-6px}.service-choices{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}.service-choices button{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-height:76px;border:1px solid #dbe5d7;border-radius:12px;padding:12px;background:#fff;color:#2c4132;text-align:left}.service-choices button strong{font-size:14px;font-weight:550}.service-choices button span{font-size:12px;color:#657c69}.service-choices button[aria-pressed="true"]{background:#eaf3e5;border:2px solid #47794e;padding:11px;color:#1c563b}.service-choices button[aria-pressed="true"]::after{content:'Выбрано';font-size:11px;color:#205c42}
#tattoo-mobile .calculated{font-size:13px;line-height:1.6;margin:16px 0;padding:15px;background:#edf5e8}#tattoo-mobile .calculated.conflict{background:#fff1dc}.booking-extra{border-top:1px solid #e1e8dd;margin:28px 0 0;padding:16px 0}.booking-extra summary{min-height:44px;display:flex;align-items:center;gap:8px;font-size:14px;color:#526d56;list-style-position:inside}.booking-extra summary::before{content:'＋';font-size:22px}.booking-extra[open] summary::before{content:'−'}
#tattoo-mobile .upload-field{position:relative}#tattoo-mobile .upload-field input{position:absolute;width:1px!important;height:1px!important;min-height:1px!important;opacity:0;padding:0!important;overflow:hidden}.upload-label{display:flex;justify-content:center;align-items:center;min-height:52px;margin-top:8px;border:1px dashed #aebfaa;border-radius:11px;color:#205c42;background:#f8faf5;font-weight:550;font-size:14px;cursor:pointer}.upload-field:focus-within .upload-label{outline:3px solid #83b698;outline-offset:3px}
.form-actions{display:flex;align-items:center;gap:20px;padding:20px 0 4px;border-top:1px solid #e1e7dd}.form-actions .primary{max-width:300px}.form-actions>.small{max-width:260px;font-size:12px!important}.form-actions .primary:disabled{background:#c1cdbd!important;color:#40503d!important;opacity:1!important;box-shadow:none}
.demo-dialog{border:0;border-radius:22px;padding:27px;width:min(480px,calc(100vw - 30px));color:#23382a;box-shadow:0 25px 90px #162a2140;background:#fff}.demo-dialog::backdrop{background:#12241970;backdrop-filter:blur(3px)}.demo-dialog h2{font-size:22px!important}.demo-dialog button{border:1px solid #dce5d7;background:#f5f8f0;color:#28533a;border-radius:10px;min-height:46px;padding:10px 14px;font-size:14px}.demo-dialog p{font-size:14px;line-height:1.65;margin:15px 0!important}.demo-scenarios{display:grid;gap:10px;margin:20px 0}.demo-dialog .row{align-items:flex-start!important;flex-wrap:wrap}.toast{position:fixed;bottom:22px;right:24px;max-width:min(400px,calc(100vw - 32px));padding:15px 20px;z-index:100;background:#205c42;color:#fff;box-shadow:0 6px 25px #1b372632;border-radius:14px;font-size:14px}.toast.is-error{background:#875820}.download-link{display:block;padding:13px 0;color:#205c42;text-underline-offset:4px}.share-fallback{margin:17px 0}.save-state::before{content:'●';font-size:9px;color:#5f8f65;margin-right:6px}
#tattoo-mobile .onboarding{max-width:530px;padding-top:20px;margin:0 auto}#tattoo-mobile [data-screen="create-studio"] .onboarding{padding-bottom:35px}#tattoo-mobile .week-row{padding:13px 0}#tattoo-mobile .week-row input[type="time"]{font-size:16px;min-height:48px}#tattoo-mobile .phone .error{font-size:14px;color:#9a4c11}#tattoo-mobile .share-empty{font-size:14px}#tattoo-mobile .message-preview{font-size:14px}#tattoo-mobile .projecthead{padding-bottom:24px}
@media(min-width:1100px){#tattoo-mobile[data-current-screen="admin"] [data-admin-content]:has(.workercard){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}#tattoo-mobile[data-current-screen="admin"] [data-admin-content]>.weeknav,#tattoo-mobile[data-current-screen="admin"] [data-admin-content]>p{grid-column:1/-1}#tattoo-mobile .workercard{margin:0}#tattoo-mobile .workercard .secondary{width:100%}#tattoo-mobile [data-records]:has([data-personal-day]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px}#tattoo-mobile [data-records]>.weeknav{grid-column:1/-1}}
@media(max-width:1050px){.save-state{display:none}#tattoo-mobile{padding-left:200px}#tattoo-mobile .app-header{margin-left:-176px}.header-actions{gap:8px}.wordmark{font-size:20px}#tattoo-mobile .content{padding:0 24px 28px}#tattoo-mobile .top{padding:22px 24px 12px}#tattoo-mobile .booking-grid{gap:24px}.booking-slot{padding-left:22px}.role-control>span{display:none}}
@media(max-width:760px){#tattoo-mobile{padding:0 0 180px;max-width:none}#tattoo-mobile .phone{border-radius:0;min-height:calc(100svh - 80px);background:#fff}#tattoo-mobile .app-header{height:78px;margin:0;padding:0 18px;border-bottom:1px solid #e4eadd;background:#fff}.wordmark{font-size:18px;letter-spacing:1.5px}.wordmark span{font-size:9px;margin-top:2px}.header-actions{gap:5px}.role-control select{padding:9px 7px;font-size:13px;min-height:43px;width:131px}.demo-trigger{font-size:11px;padding:7px}.global-booking{position:fixed;left:16px;right:16px;bottom:calc(80px + env(safe-area-inset-bottom));width:calc(100% - 32px);z-index:55;font-size:17px;min-height:56px;border-radius:15px;box-shadow:0 5px 24px #1b432634;padding:14px 20px}
#tattoo-mobile .bottomnav{position:fixed;top:auto;bottom:0;left:0;width:100%;height:calc(70px + env(safe-area-inset-bottom));padding:6px 12px calc(6px + env(safe-area-inset-bottom));margin:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;background:#fff;border-top:1px solid #e0e6dc;box-shadow:0 -4px 18px #17382708;border-radius:0}#tattoo-mobile .bottomnav button{font-size:12px;min-height:54px;gap:4px;flex-direction:column;justify-content:center;padding:6px 2px;text-align:center}.bottomnav button::before{font-size:22px}.booking-open{padding-bottom:25px!important}
#tattoo-mobile .content{padding:0 20px 25px}#tattoo-mobile .top{padding:18px 20px 8px;min-height:57px}#tattoo-mobile h2{font-size:27px}#tattoo-mobile .owner-scope{padding:17px 20px 0}#tattoo-mobile .owner-scope>.small{display:none}#tattoo-mobile .small{font-size:13px}#tattoo-mobile .week{gap:3px;margin:18px 0}#tattoo-mobile .day{min-height:61px}#tattoo-mobile .record{padding:16px}
#tattoo-mobile .weekmatrix{border-spacing:3px 7px;width:100%;table-layout:fixed}#tattoo-mobile .weekmatrix th:first-child{width:59px}#tattoo-mobile .weekmatrix th{font-size:11px}#tattoo-mobile .weekmatrix th span{font-size:14px}#tattoo-mobile .weekmatrix .mastername{font-size:12px;overflow-wrap:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#tattoo-mobile .cell{font-size:13px;min-height:58px;border-radius:9px;gap:1px;padding:3px 0}#tattoo-mobile .cell small{font-size:10px}#tattoo-mobile .legend{font-size:12px;gap:7px 13px}#tattoo-mobile .switch button{font-size:13px;padding:8px 5px}.owner-scope .switch button{font-size:12px!important}
#tattoo-mobile .booking-grid{display:flex;flex-direction:column;gap:26px;margin-top:25px}.booking-slot{padding:0;border:0}.booking-client>h3,.booking-slot>h3{font-size:17px!important;margin-bottom:12px!important}#tattoo-mobile .field{margin:15px 0}#tattoo-mobile .field input,#tattoo-mobile select{font-size:16px;padding:13px;min-height:50px}.service-choices button{min-height:78px}.form-actions{position:sticky;bottom:0;margin:14px -20px -25px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #dfe7d9;z-index:35;box-shadow:0 -5px 18px #213a2110;display:block}.form-actions .primary{max-width:none;min-height:54px!important;font-size:16px!important}.form-actions>.small{display:block;margin-top:8px;text-align:center;max-width:none;font-size:11px!important}.booking-extra{margin-top:20px}.toast{bottom:160px;right:16px;font-size:13px}.booking-open .toast{bottom:24px}.app-header .role-control{max-width:133px}.demo-dialog{padding:23px}
}
@media(max-width:355px){#tattoo-mobile .app-header{padding:0 12px}.wordmark{font-size:16px}.wordmark span{display:none}.role-control select{width:124px}.demo-trigger{padding:7px 3px}#tattoo-mobile .content{padding-left:15px;padding-right:15px}#tattoo-mobile .top{padding-left:15px;padding-right:15px}.form-actions{margin-left:-15px;margin-right:-15px;padding-left:15px;padding-right:15px}.booking-money{gap:10px}#tattoo-mobile .weekmatrix th:first-child{width:52px}#tattoo-mobile .cell{font-size:12px}#tattoo-mobile .cell small{font-size:10px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
#tattoo-mobile .global-booking{color:#fff;font-weight:650}
#tattoo-mobile .role-control select{margin:0;font-size:14px;width:150px;min-height:46px;padding:10px;color:#233d2b;background:#fff}
#tattoo-mobile [data-screen="schedule"] .schedulehead{display:none}
#tattoo-mobile .phone input,#tattoo-mobile .phone select,#tattoo-mobile .phone textarea{scroll-margin-top:110px;scroll-margin-bottom:160px}
@media(max-width:760px){#tattoo-mobile .role-control select{font-size:13px;width:131px;padding:9px 7px;min-height:43px}#tattoo-mobile .cell small{font-size:11px}#tattoo-mobile .weekmatrix .mastername{font-size:12px}#tattoo-mobile .weekmatrix .cell{font-size:12px}}
@media(max-width:355px){#tattoo-mobile .role-control select{width:124px}}
#tattoo-mobile .primary,#tattoo-mobile .quickdeposit,#tattoo-mobile .global-booking{background:#205c42;color:#fff!important}
#tattoo-mobile .primary:disabled,#tattoo-mobile .quickdeposit:disabled{background:#d8e1d2!important;color:#44523f!important;opacity:1}
#tattoo-mobile .narrow-form{max-width:620px;margin:0 auto;padding-top:16px}
#tattoo-mobile .section-intro{margin:12px 0 20px}
#tattoo-mobile .management-tools{display:grid;grid-template-columns:minmax(0,2fr) minmax(130px,1fr) minmax(130px,1fr);gap:14px;align-items:end}
#tattoo-mobile .management-tools>.field{margin:10px 0 16px}
#tattoo-mobile .management-tools input[type="search"]{width:100%;min-width:0}
#tattoo-mobile .management-tools>.check{align-self:center;margin-top:18px}
#tattoo-mobile .result-count{margin:8px 0;color:#697565}
#tattoo-mobile .client-listing strong{margin-bottom:7px}
#tattoo-mobile .client-source{display:inline-block;border-radius:7px;padding:4px 8px;font-size:12px;background:#edf2e8;color:#38543e;margin-bottom:6px}
#tattoo-mobile .client-listing .small{margin-top:4px}
#tattoo-mobile .contact-summary{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:18px 0 24px}
#tattoo-mobile .contact-summary>p{flex-basis:100%}
#tattoo-mobile .stock-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:24px 0}
#tattoo-mobile .stock-actions>.textbtn{grid-column:1/-1;color:#725c46}
#tattoo-mobile .stock-actions:has(>button:only-child){grid-template-columns:1fr}
#tattoo-mobile .salon-dashboard{border-top:1px solid #e1e8dd;border-bottom:1px solid #e1e8dd;padding:24px 0;margin:25px 0}
#tattoo-mobile .masterday-add{width:100%;min-height:52px;margin:12px 0 16px}
#tattoo-mobile .artist-team-card{margin:14px 0;padding:16px;border:1px solid #dde6da;border-radius:14px;background:#fff}
#tattoo-mobile .artist-team-card>.listing{border:0;margin:0;padding:0 0 10px;border-radius:0}
#tattoo-mobile .artist-phone{margin:0 0 12px;color:#647a69}
#tattoo-mobile .artist-rate{display:flex;gap:8px 18px;flex-wrap:wrap;background:#eef5ee;border-radius:10px;padding:13px;font-size:14px;font-weight:600;margin:10px 0 14px;color:#205c42}
#tattoo-mobile .artist-rate .terms-unset{font-weight:400;color:#796742}
#tattoo-mobile .artist-team-card>.secondary{width:100%;min-height:48px;color:#205c42}
#tattoo-mobile .terms-preview{padding:18px;border-radius:12px;background:#edf5ee;font-size:17px;color:#205c42;line-height:1.6;margin:18px 0}
#tattoo-mobile .day-record{padding:14px;margin:10px 0}
#tattoo-mobile .day-record .openrecord>.desc,#tattoo-mobile .day-record .openrecord>.small,#tattoo-mobile .day-record .footerline:has(.paidrow)>.small{display:none}
#tattoo-mobile .day-record .client{font-size:18px;margin:8px 0}
#tattoo-mobile .day-record .footerline{margin-top:8px;padding-top:10px}
#tattoo-mobile [data-masterday-content]>.section{margin:18px 0 12px}
#tattoo-mobile .salon-cash{padding:18px;margin:4px 0 20px;background:#eef5f0;border:1px solid #bed5c5;border-radius:16px;min-width:0}
#tattoo-mobile .cash-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
#tattoo-mobile .cash-heading h3{margin:0;font-size:20px}
#tattoo-mobile .cash-total{font-size:28px;color:#184d36;overflow-wrap:anywhere}
#tattoo-mobile .cash-breakdown{display:flex;gap:8px 20px;flex-wrap:wrap;font-size:13px;margin:14px 0}
#tattoo-mobile .cash-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}
#tattoo-mobile .cash-actions button{width:100%;min-height:48px;font-size:14px;padding:12px 8px}
#tattoo-mobile .cash-expense{color:#94502c}
#tattoo-mobile .cash-ledger summary{cursor:pointer;font-weight:650;padding:12px 0;min-height:44px}
#tattoo-mobile .cash-entry{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;width:100%;padding:16px 0;text-align:left;background:transparent;color:#183b2c;border:0;border-top:1px solid #ceddd2;border-radius:0;white-space:normal}
#tattoo-mobile .cash-entry-title{font-weight:650;overflow-wrap:anywhere}
#tattoo-mobile .cash-entry-amount{font-size:16px}
#tattoo-mobile .cash-entry .small{grid-column:1/-1}
#tattoo-mobile .dashboard-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:8px}
#tattoo-mobile .report-controls{display:grid;grid-template-columns:minmax(100px,180px) minmax(150px,210px);gap:14px}
#tattoo-mobile .salon-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:10px 0 28px}
#tattoo-mobile .salon-metric{display:flex;flex-direction:column;gap:10px;padding:18px;border:1px solid #e2e9dc;border-radius:15px;background:#f7f9f3;min-width:0}
#tattoo-mobile .metric-label{font-size:13px;color:#4e6250;min-height:39px}
#tattoo-mobile .metric-value{font-size:28px;line-height:1.15;letter-spacing:-.6px;font-weight:650;color:#203d2c;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#tattoo-mobile .salon-metric .small{font-size:11px;line-height:1.5}
#tattoo-mobile .salon-charts{display:grid;grid-template-columns:1fr 1fr;gap:30px}
#tattoo-mobile .salon-charts h3{font-size:16px}
#tattoo-mobile .activity-bars{display:flex;gap:12px;align-items:end;padding-top:22px;margin-bottom:12px}
#tattoo-mobile .activity-column{flex:1;min-width:0;text-align:center;display:flex;flex-direction:column;gap:7px}
#tattoo-mobile .activity-total{font-size:13px;font-variant-numeric:tabular-nums}
#tattoo-mobile .activity-area{height:125px;display:flex;align-items:end;background:#f6f8f2;border-radius:8px;overflow:hidden}
#tattoo-mobile .activity-stack{width:100%;display:flex;flex-direction:column;justify-content:end}
#tattoo-mobile .activity-done{background:#205c42}
#tattoo-mobile .activity-planned{background:#bfd5ae}
#tattoo-mobile .activity-label{font-size:11px;color:#536651;white-space:nowrap}
#tattoo-mobile .chart-legend{display:flex;gap:14px;flex-wrap:wrap;margin-top:12px;font-size:12px;color:#50614d}
#tattoo-mobile .chart-legend span{display:flex;gap:6px;align-items:center}
#tattoo-mobile .chart-legend span::before{content:'';display:block;width:10px;height:10px;border-radius:2px;background:#205c42}
#tattoo-mobile .chart-legend .legend-planned::before{background:#bfd5ae}
#tattoo-mobile .artist-revenue>p{margin-top:6px}
#tattoo-mobile .artist-stat{margin-top:18px}
#tattoo-mobile .artist-stat .row{font-size:13px;align-items:baseline}
#tattoo-mobile .artist-stat .row span{max-width:60%;overflow-wrap:anywhere}
#tattoo-mobile .artist-stat strong{font-weight:550;white-space:nowrap;font-variant-numeric:tabular-nums}
#tattoo-mobile .artist-track{height:9px;background:#edf2e6;border-radius:6px;overflow:hidden;margin-top:8px}
#tattoo-mobile .artist-fill{height:100%;background:#46744d}
#tattoo-mobile .report-help{margin-top:22px;font-size:12px}
#tattoo-mobile .update-banner{display:flex;justify-content:space-between;align-items:center;gap:15px;position:sticky;top:104px;z-index:61;padding:12px 18px;margin-bottom:15px;border-radius:12px;background:#e9f1df;color:#214e35;font-size:14px;box-shadow:0 4px 20px #19381a10}
#tattoo-mobile .demo-trigger{min-width:44px}
#tattoo-mobile .prototype-notice{margin:0;padding:8px 18px;background:#f5f1e5;color:#64532e;font-size:11px;line-height:1.5;border-bottom:1px solid #e5ddc9}
#tattoo-mobile [data-finish-full]{margin-bottom:18px}
#tattoo-mobile .registration-start{padding-top:36px;padding-bottom:32px}
#tattoo-mobile .registration-start h1{font-size:36px;line-height:1.15;letter-spacing:-1px;margin:16px 0}
#tattoo-mobile .registration-roles{display:grid;gap:12px;margin:28px 0}
#tattoo-mobile .registration-roles button{position:relative;display:grid;grid-template-columns:32px minmax(0,1fr);gap:5px 10px;text-align:left;padding:20px 34px 20px 16px;background:white;border:1px solid #cdd9c6;border-radius:16px;color:#254631;min-height:100px;width:100%}
#tattoo-mobile .registration-roles strong{font-size:17px;grid-column:2}
#tattoo-mobile .registration-roles button>span:not(.role-symbol){font-size:13px;line-height:1.5;grid-column:2;color:#63745d}
#tattoo-mobile .registration-roles .role-symbol{grid-row:1/3;font-size:25px;align-self:center}
#tattoo-mobile .registration-roles b{position:absolute;right:14px;top:40%;font-weight:400}
#tattoo-mobile .demo-example{margin-top:18px;white-space:normal;text-align:left;font-size:12px;line-height:1.5}
#tattoo-mobile .staff-badge{display:block;width:fit-content;font-size:10px;line-height:1.4;font-weight:550;letter-spacing:.01em;color:#365572;background:#e6eef7;border-radius:5px;padding:3px 5px;margin-top:5px}
#tattoo-mobile .staff-row th,#tattoo-mobile .staff-row td{border-top:2px solid #c2d4e5;padding-top:12px}
#tattoo-mobile .staff-cell{background:#e9f0f8;color:#365572;font-size:10px;white-space:normal;line-height:1.6;min-height:46px}
#tattoo-mobile .staff-listing{background:#f3f7fc;border-radius:12px;padding-left:14px;padding-right:14px}
#tattoo-mobile .staff-cell>span{display:block;font-size:9px;line-height:1.6}
#tattoo-mobile .master-workmonth{display:block;width:100%;min-height:52px;margin:18px 0;border:1px solid #205c42;color:#205c42;font-weight:650;background:#f5f9f1}
#tattoo-mobile .month-editor{max-width:650px;margin:0 auto}
#tattoo-mobile .month-toolbar{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:12px;align-items:end;margin:24px 0 18px}
#tattoo-mobile .month-toolbar button{padding:0;min-height:48px}
#tattoo-mobile .month-toolbar label{display:grid;gap:6px}
#tattoo-mobile .month-toolbar input{box-sizing:border-box;width:100%;min-width:0;min-height:48px;padding:10px 12px;border:1px solid #cfdbca;border-radius:12px;background:#fff;color:#254631;font:inherit}
#tattoo-mobile [data-month-title]{text-transform:capitalize;margin-bottom:16px}
#tattoo-mobile .month-weekdays,#tattoo-mobile .month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}
#tattoo-mobile .month-weekdays{text-align:center;font-size:11px;color:#65725f;margin-bottom:8px}
#tattoo-mobile .month-date{position:relative;min-width:0;min-height:66px;border:1px solid #e1e6db;border-radius:10px;background:#f7f8f3;color:#6a7565;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:8px 2px;font-variant-numeric:tabular-nums}
#tattoo-mobile .month-date strong{font-size:16px;font-weight:600;line-height:1.1}
#tattoo-mobile .month-date.working{background:#205c42;color:#fff!important;border-color:#205c42}
#tattoo-mobile .month-hours{display:block;font-size:9px;line-height:1.2;white-space:pre;text-align:center}
#tattoo-mobile .month-check{position:absolute;top:3px;right:4px;font-size:9px}
#tattoo-mobile .month-booked{position:absolute;bottom:1px;right:5px;font-size:17px;color:#d8a93a}
#tattoo-mobile .month-legend{font-size:11px;margin:12px 0}
#tattoo-mobile .month-summary{font-size:14px;font-weight:600;margin:16px 0 24px}
#tattoo-mobile .month-time-template{padding:20px 0;border-top:1px solid #e3e8de}
#tattoo-mobile .month-time-template>p{margin:8px 0 16px}
#tattoo-mobile [data-month-apply]{width:100%;white-space:normal;line-height:1.5;padding:12px;min-height:48px}
#tattoo-mobile .month-individual{margin:8px 0 25px;border:1px solid #dce4d5;border-radius:12px;padding:15px}
#tattoo-mobile .month-individual summary{cursor:pointer;font-size:14px;line-height:1.5}
#tattoo-mobile .month-time-row{display:grid;grid-template-columns:minmax(0,1fr) 90px 90px;gap:8px;align-items:center;margin-top:14px}
#tattoo-mobile .month-time-row strong{font-size:12px;font-weight:500}
#tattoo-mobile .month-time-row input{padding:8px 4px;min-width:0;font-size:13px}
#tattoo-mobile .month-save{position:sticky;bottom:0;background:#fff;padding:14px 0 max(14px,env(safe-area-inset-bottom));margin-top:15px}
#tattoo-mobile .month-save button{width:100%;min-height:52px}
#tattoo-mobile .studio-month-nav{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:12px;align-items:center;margin:24px 0}
#tattoo-mobile .studio-month-nav strong{text-align:center;font-size:18px;text-transform:capitalize}
#tattoo-mobile .studio-month-nav button{padding:0;min-height:44px}
#tattoo-mobile .studio-month-tools{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}
#tattoo-mobile .studio-month-tools>.field:last-child{grid-column:1/-1}
#tattoo-mobile .studio-month-filters{border:1px solid #dce5d5;border-radius:12px;margin:0 0 10px;padding:12px}
#tattoo-mobile .studio-month-filters summary{cursor:pointer;font-size:13px;line-height:1.5;color:#36532e}
#tattoo-mobile .studio-month-filters[open] .studio-month-tools{margin-top:18px}
#tattoo-mobile .studio-month-incomplete{border:1px solid #d6e5ce;background:#f2f7ed;border-radius:12px;padding:14px;font-size:13px;line-height:1.6;margin:4px 0 16px}
#tattoo-mobile .studio-month-incomplete.pending{border-color:#e4d5ae;background:#fbf5e7;color:#735c2c}
#tattoo-mobile .studio-month-legend{display:flex;flex-wrap:wrap;gap:9px 14px;margin:16px 0;font-size:11px;color:#53624b}
#tattoo-mobile .studio-month-legend span{display:flex;gap:6px;align-items:center}
#tattoo-mobile .studio-month-legend span:before{content:'';width:12px;height:12px;border-radius:4px;background:#205c42;box-sizing:border-box}
#tattoo-mobile .studio-month-legend .legend-partial:before{background:#cde1bd}
#tattoo-mobile .studio-month-legend .legend-busy:before{background:#f4dfac}
#tattoo-mobile .studio-month-legend .legend-off:before{background:#eef0eb}
#tattoo-mobile .studio-month-legend .legend-unknown:before{background:#fff;border:1px dashed #9b978b}
#tattoo-mobile .studio-month-legend .legend-blocked:before{background:#e9dce7}
#tattoo-mobile .studio-month-help{font-size:12px;margin:4px 0 12px;color:#5c6c61}
#tattoo-mobile .studio-schedule-guide{margin:12px 0 0;border-top:1px solid #e1e8df}
#tattoo-mobile .studio-schedule-guide summary{padding:14px 0;min-height:44px;font-size:13px;color:#36532e;cursor:pointer}
#tattoo-mobile .studio-schedule-guide p{line-height:1.65}
#tattoo-mobile .studio-month-artists{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:start}
#tattoo-mobile .studio-month-card{min-width:0;border:1px solid #dce5d5;border-radius:18px;padding:16px;background:#fff}
#tattoo-mobile .studio-month-person{display:flex;gap:10px;align-items:center}
#tattoo-mobile .studio-month-person h3{font-size:18px;margin:0 0 3px}
#tattoo-mobile .studio-month-person .small{font-size:11px}
#tattoo-mobile .studio-month-person .avatar{width:38px;height:38px;flex-shrink:0;font-size:13px}
#tattoo-mobile .studio-month-counts{font-size:11px;color:#5a6b53;line-height:1.6;margin:14px 0}
#tattoo-mobile .studio-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
#tattoo-mobile .studio-month-date{min-width:0;min-height:54px;border:1px solid transparent;border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:6px 2px;font-variant-numeric:tabular-nums}
#tattoo-mobile .studio-month-date strong{font-size:14px;font-weight:600;line-height:1.1}
#tattoo-mobile .studio-cell-status{font-size:8px;line-height:1.2;white-space:normal;text-align:center;max-width:100%}
#tattoo-mobile .studio-cell-status>span{display:block}
#tattoo-mobile .studio-month-date.status-free{background:#205c42;color:#fff!important}
#tattoo-mobile .studio-month-date.status-partial{background:#dcebcf;color:#345429}
#tattoo-mobile .studio-month-date.status-busy{background:#f9e9c5;color:#6f531b}
#tattoo-mobile .studio-month-date.status-blocked{background:#eee3ee;color:#6f456b}
#tattoo-mobile .studio-month-date.status-off{background:#f2f4ee;color:#6a7564}
#tattoo-mobile .studio-month-date.status-unknown{background:#fff;color:#777265;border:1px dashed #b9b4a7}
#tattoo-mobile .studio-month-date.is-selected-date{outline:2px solid #899c77;outline-offset:1px}
#tattoo-mobile .studio-staff-card{border-color:#c8d8e8;background:#fcfdff}
#tattoo-mobile .studio-staff-card .avatar{background:#e7eff8;color:#365572}
#tattoo-mobile .studio-month-date.status-staff{background:#e7eff8;color:#365572}
#tattoo-mobile .studio-month-staff{margin-top:18px}
#tattoo-mobile .studio-matrix-scroll{max-width:100%;max-height:65vh;overflow:auto;overscroll-behavior:contain;border:1px solid #dde5d6;border-radius:12px;background:#fff;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
#tattoo-mobile .studio-matrix{border-collapse:separate;border-spacing:4px 6px;table-layout:fixed;width:max-content;min-width:100%;margin:0}
#tattoo-mobile .studio-matrix th,#tattoo-mobile .studio-matrix td{box-sizing:border-box;width:52px;min-width:52px;padding:0;text-align:center}
#tattoo-mobile .studio-matrix thead th{position:sticky;top:0;z-index:2;background:#fff;padding:9px 0;font-size:14px;color:#36532e}
#tattoo-mobile .studio-matrix thead small{display:block;font-size:10px;font-weight:400;margin-top:4px}
#tattoo-mobile .studio-matrix .studio-matrix-name{position:sticky;left:4px;z-index:3;background:#fff;text-align:left;width:94px;min-width:94px;max-width:94px;padding:8px 9px;box-shadow:-6px 0 #fff,4px 0 4px #263c2110;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
#tattoo-mobile .studio-matrix thead .studio-matrix-name{z-index:4}
#tattoo-mobile .studio-matrix-name>small{display:block;font-size:10px;color:#75836b;font-weight:400}
#tattoo-mobile .studio-matrix .studio-month-date{width:100%;min-height:58px;border-radius:8px}
#tattoo-mobile .studio-matrix .studio-cell-status{font-size:10px;line-height:1.25}
#tattoo-mobile .studio-matrix .studio-cell-hours{font-size:10px;font-weight:400;line-height:1.2}
#tattoo-mobile .studio-matrix-selected{box-shadow:inset 0 -3px #75915e}
#tattoo-mobile .studio-matrix-staff .studio-matrix-name{border-top:2px solid #c2d4e5;background:#f7faff}
#tattoo-mobile .studio-matrix-hint{font-size:11px;margin:10px 0 14px;color:#5e7056;text-align:center}
@media(max-width:760px){
  #tattoo-mobile [data-screen="admin"]>.top{min-height:0;padding-top:10px;padding-bottom:0}
  #tattoo-mobile [data-screen="admin"] [data-admin-studio]{font-size:11px}
  #tattoo-mobile [data-screen="admin"] [data-team-summary]{font-size:10px;margin:8px 0 4px}
  #tattoo-mobile [data-screen="admin"] .content>h2{margin:8px 0 14px;font-size:25px}
  #tattoo-mobile [data-screen="admin"] .studio-month-nav{margin:12px 0}
  #tattoo-mobile [data-screen="admin"] .studio-month-help{font-size:11px;margin:2px 0 10px}
}
#tattoo-mobile .weekmatrix .cell.status-free{background:#205c42;color:#fff!important}
#tattoo-mobile .weekmatrix .cell.status-partial{background:#dcebcf;color:#345429}
#tattoo-mobile .weekmatrix .cell.status-busy{background:#f9e9c5;color:#6f531b}
#tattoo-mobile .weekmatrix .cell.status-blocked{background:#eee3ee;color:#6f456b}
#tattoo-mobile .weekmatrix .cell.status-unknown{background:#fff;color:#777265;border:1px dashed #b9b4a7}
#tattoo-mobile .weekmatrix .cell.status-off{background:#f2f4ee;color:#6a7564}
#tattoo-mobile .weekmatrix .cell span{white-space:normal;line-height:1.25}
#tattoo-mobile .studio-client-count{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;min-width:24px;flex-shrink:0;border:1.5px solid currentColor;border-radius:50%;font-size:12px;font-weight:700;line-height:1!important;background:#ffffff66;font-variant-numeric:tabular-nums}
@media(max-width:1100px){#tattoo-mobile .studio-month-artists{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){#tattoo-mobile .studio-month-artists{grid-template-columns:minmax(0,1fr);gap:18px}#tattoo-mobile .studio-month-card{padding:14px}#tattoo-mobile .studio-month-nav{margin:20px 0}#tattoo-mobile .studio-month-nav strong{font-size:16px}}
@media(max-width:355px){#tattoo-mobile .studio-month-card{padding:10px}#tattoo-mobile .studio-month-grid{gap:3px}#tattoo-mobile .studio-cell-status{font-size:7px}#tattoo-mobile .studio-month-date{min-height:48px}#tattoo-mobile .studio-month-tools{gap:0 9px}}
@media(max-width:355px){#tattoo-mobile .month-weekdays,#tattoo-mobile .month-grid{gap:4px}#tattoo-mobile .month-date{min-height:62px;border-radius:8px}#tattoo-mobile .month-time-row{grid-template-columns:minmax(0,1fr) 80px 80px;gap:5px}#tattoo-mobile .month-individual{padding:10px}}
@media(max-width:900px){#tattoo-mobile .management-tools{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}#tattoo-mobile .management-tools>.field:first-child{grid-column:1/-1}#tattoo-mobile .salon-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}#tattoo-mobile .salon-charts{grid-template-columns:1fr}}
@media(max-width:760px){#tattoo-mobile .narrow-form{padding-top:10px}#tattoo-mobile .salon-dashboard{padding:22px 0;margin:22px 0}#tattoo-mobile .salon-metric{padding:14px;gap:8px}#tattoo-mobile .metric-value{font-size:24px}#tattoo-mobile .metric-label{font-size:12px;min-height:36px}#tattoo-mobile .salon-metric .small{font-size:11px}#tattoo-mobile .activity-bars{gap:9px}#tattoo-mobile .update-banner{top:78px;margin:0 10px 15px;font-size:13px}#tattoo-mobile .management-tools{gap:10px}#tattoo-mobile .management-tools>.field{margin-bottom:10px}}
@media(max-width:355px){#tattoo-mobile .metric-value{font-size:21px}#tattoo-mobile .salon-metric{padding:12px}#tattoo-mobile .report-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}}

/* Installation stays optional and never blocks registration or booking. */
#tattoo-mobile .install-offer{display:flex;align-items:center;gap:14px;padding:18px;border:1px solid #c9dccf;border-radius:18px;background:#edf5ee;margin:0 0 20px}
#tattoo-mobile .install-offer[hidden]{display:none}
.install-offer img,.install-dialog img{border-radius:13px;flex-shrink:0}
.install-offer-copy{flex:1;min-width:0}.install-offer-copy strong{font-size:17px}.install-offer-copy p{margin:4px 0 0;font-size:13px;color:#4a6252}
.install-offer-actions{display:flex;align-items:center;gap:6px}
#tattoo-mobile .install-offer button,#tattoo-mobile .install-dialog button{min-height:44px;padding:11px 16px;border-radius:12px;font-size:14px;white-space:normal}
#tattoo-mobile .install-offer .primary,#tattoo-mobile .install-dialog .primary{background:#205c42;color:#fff;border:0;font-weight:650}
#tattoo-mobile .install-offer .textbtn{background:transparent;color:#325c45;border:0}
#tattoo-mobile .install-dialog{border:1px solid #dfe5df;border-radius:24px;padding:26px;width:min(480px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;background:#fff;color:#1c2b24;box-shadow:0 20px 80px #10291b35}
.install-dialog::backdrop{background:#15291f80}.install-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
#tattoo-mobile .install-dialog h2{font-size:26px;margin-top:20px}.install-steps{padding-left:23px;margin:22px 0}.install-steps li{padding-left:6px;margin:0 0 14px;line-height:1.55}
.install-footnote{border-top:1px solid #e1e7e1;padding-top:16px;color:#5e6b63}.install-done{width:100%;margin-top:10px}
@media(max-width:600px){#tattoo-mobile .install-offer{flex-wrap:wrap;padding:16px;gap:12px;margin:0 0 16px}.install-offer-copy{flex-basis:calc(100% - 60px)}.install-offer-actions{width:100%}.install-offer-actions .primary{flex:1}#tattoo-mobile .install-dialog{padding:22px}}
