:root{--white:#fff;--ice:#f1faff;--sky:#72cff2;--blue:#158bc2;--navy:#123c59;--text:#25465b;--muted:#6e8796;--line:#deebf1;--red:#bf4554;--green:#267c60;--amber:#9b6d1b;--shadow:0 16px 54px #123c5910;font-family:Manrope,Arial,sans-serif;color:var(--text);background:#f6fafc;font-synthesis:none}*{box-sizing:border-box}body{margin:0;font-size:13px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button,a{touch-action:manipulation}button{cursor:pointer}a{color:var(--blue);text-decoration:none}button{border:0;background:transparent;color:inherit}svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin-top:0}h1{font-size:27px;letter-spacing:-.8px;line-height:1.3;color:var(--navy);margin-bottom:7px}h2{font-size:17px;color:var(--navy);margin-bottom:18px}h3{font-size:14px;color:var(--navy)}.muted{color:var(--muted)}.small{font-size:11px}.boot{min-height:100vh;display:flex;gap:15px;align-items:center;justify-content:center}.spinner{display:inline-block;border:2px solid #d8e9f1;border-top-color:var(--blue);border-radius:50%;width:22px;height:22px;animation:spin .75s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.layout{min-height:100vh;display:grid;grid-template-columns:235px minmax(0,1fr)}.sidebar{background:var(--white);border-inline-end:1px solid var(--line);position:fixed;inset-block:0;inset-inline-start:0;width:235px;display:flex;flex-direction:column;z-index:30;padding:28px 16px 16px}.brand{display:flex;gap:11px;align-items:center;color:var(--navy);padding:0 12px 28px}.brandmark{width:36px;height:40px;display:grid;place-items:center;background:var(--ice);border:1px solid #d4effb;border-radius:11px}.brandmark svg{width:24px;height:24px;stroke:var(--blue)}.brand strong{font-size:18px;letter-spacing:-.6px}.brand small{display:block;font-size:9px;text-transform:uppercase;letter-spacing:2px;color:var(--muted);margin-top:4px}.nav{flex:1;overflow:auto}.nav button{width:100%;display:flex;align-items:center;gap:13px;text-align:start;border-radius:8px;padding:11px 14px;font-weight:600;color:#647f90;margin-bottom:4px}.nav button:hover{background:#f7fbfd}.nav button.active{background:#e8f7fe;color:#117daf}.nav-label{font-size:9px;letter-spacing:1.8px;padding:20px 14px 10px;color:#9badb8;font-weight:700;text-transform:uppercase}.sidebar-bottom{padding-top:16px;border-top:1px solid var(--line);display:flex;gap:9px;align-items:center}.avatar{border-radius:50%;width:35px;height:35px;display:grid;place-items:center;background:var(--ice);color:var(--blue);font-weight:700}.user-meta{flex:1;min-width:0}.user-meta strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px}.user-meta small{color:var(--muted);font-size:10px}.main{grid-column:2;min-width:0}.topbar{height:76px;background:#ffffffd9;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:18px;padding:0 38px;position:sticky;top:0;z-index:20;backdrop-filter:blur(16px)}.breadcrumb{color:var(--muted);font-size:11px;flex:1}.breadcrumb b{color:var(--navy);font-weight:600}.topbar a{display:flex;gap:7px;align-items:center;font-size:11px}.lang{border:1px solid var(--line);border-radius:7px;padding:7px 10px;background:white;color:var(--navy);font-size:11px}.menu-button{display:none}.workspace{padding:34px 38px 60px;max-width:1800px;margin:auto}.page-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:27px}.page-head p{font-size:12px;margin:0;color:var(--muted);line-height:1.7}.actions,.toolbar,.inline{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:37px;padding:9px 15px;border:1px solid var(--line);border-radius:7px;background:var(--white);font-weight:600;font-size:11px;white-space:nowrap;transition:.18s}.btn:hover{border-color:#9bcce1;background:var(--ice)}.btn.primary{background:var(--blue);border-color:var(--blue);color:var(--white)}.btn.primary:hover{background:#1076a6}.btn.danger{color:var(--red);border-color:#f0d5db}.btn.tiny{padding:5px 9px;min-height:29px;font-size:10px}.btn:disabled{opacity:.5;cursor:not-allowed}.icon-button{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;border:1px solid transparent}.icon-button:hover{background:var(--ice);border-color:var(--line)}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:24px}.metric{background:var(--white);border:1px solid var(--line);border-radius:11px;padding:21px;min-width:0}.metric .label{font-size:11px;color:var(--muted);display:flex;align-items:center;justify-content:space-between;gap:9px}.metric .label svg{color:var(--blue);background:var(--ice);padding:7px;width:33px;height:33px;border-radius:8px}.metric strong{display:block;font-size:28px;letter-spacing:-1px;color:var(--navy);margin:11px 0 7px}.metric small{font-size:10px;color:var(--muted)}.panel{background:var(--white);border:1px solid var(--line);border-radius:11px;padding:24px;margin-bottom:22px;box-shadow:0 4px 20px #123c5902;min-width:0}.panel-head{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:18px}.panel-head h2{margin:0}.two-col{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr);gap:22px}.toolbar{margin-bottom:18px;justify-content:space-between}.toolbar .filters{display:flex;gap:9px;flex-wrap:wrap}.search{position:relative}.search svg{position:absolute;inset-inline-start:11px;top:10px;color:#93a9b6;width:16px;height:16px}.search input{padding-inline-start:35px;width:245px}.control,input,select,textarea{border:1px solid var(--line);border-radius:6px;min-height:37px;padding:9px 11px;background:var(--white);color:var(--text);max-width:100%}input:focus,select:focus,textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px #72cff222;outline:none}textarea{resize:vertical;min-height:90px;line-height:1.6}input[type=checkbox]{accent-color:var(--blue);min-height:0;width:15px;height:15px}input[type=range]{padding:0}.table-wrap{overflow:auto;margin:0 -24px}.table{border-collapse:collapse;width:100%;font-size:11px;white-space:nowrap}.table th{font-size:9px;text-transform:uppercase;letter-spacing:1px;color:#8097a5;background:#f8fbfd;font-weight:700;text-align:start;border-block:1px solid var(--line);padding:13px 20px}.table td{padding:16px 20px;border-bottom:1px solid #edf3f6;vertical-align:middle}.table tr:last-child td{border-bottom:0}.table tbody tr:hover{background:#fcfeff}.table td.main-cell{font-weight:600;color:var(--navy)}.table td .sub{display:block;color:var(--muted);font-weight:400;font-size:10px;margin-top:5px}.badge{display:inline-flex;gap:5px;align-items:center;font-size:9px;font-weight:700;padding:5px 8px;border-radius:5px;background:#eff5f8;color:#637c8e;line-height:1.4}.badge.green{background:#e9f6ef;color:var(--green)}.badge.blue{background:#e8f6fe;color:#197faf}.badge.red{background:#fceff1;color:var(--red)}.badge.amber{background:#fff6e4;color:var(--amber)}.empty{text-align:center;padding:48px 20px;display:flex;flex-direction:column;align-items:center}.empty>svg{width:40px;height:40px;padding:8px;background:var(--ice);color:var(--blue);border-radius:10px;margin-bottom:17px}.empty h3{margin-bottom:7px}.empty p{font-size:11px;color:var(--muted);max-width:350px;line-height:1.7;margin-bottom:18px}.notice{padding:14px 16px;background:var(--ice);border:1px solid #d6edf8;border-radius:7px;font-size:11px;line-height:1.8;margin-bottom:20px;color:#436e86}.notice.warning{background:#fffbf0;border-color:#f1e5c6;color:#8b6f39}.error{color:var(--red);background:#fff1f3;border:1px solid #f5d5dc;padding:11px 13px;border-radius:6px;font-size:11px;line-height:1.7}.tabs{display:flex;gap:20px;border-bottom:1px solid var(--line);margin-bottom:22px;overflow:auto}.tabs button{padding:0 1px 13px;white-space:nowrap;font-weight:600;font-size:11px;color:var(--muted);border-bottom:2px solid transparent}.tabs button.active{color:var(--blue);border-color:var(--blue)}.segmented{display:inline-flex;padding:3px;border:1px solid var(--line);border-radius:7px;background:#f8fbfd}.segmented button{padding:7px 12px;border-radius:4px;font-size:10px;font-weight:600}.segmented button.active{background:white;box-shadow:0 2px 5px #123c5912;color:var(--blue)}.calendar{border:1px solid var(--line);border-radius:8px;overflow:hidden}.calendar-head,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-head>div{font-size:9px;font-weight:700;color:var(--muted);padding:12px 8px;text-align:center;background:#f8fbfd;border-bottom:1px solid var(--line)}.calendar-day{border-inline-end:1px solid var(--line);border-bottom:1px solid var(--line);padding:9px;min-height:118px;overflow:hidden}.calendar-day:nth-child(7n){border-inline-end:0}.calendar-day.outside{background:#fafcfd;color:#a5b7c1}.calendar-day.today .day-number{background:var(--blue);color:white}.day-number{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;font-size:10px;margin-bottom:7px}.calendar-event{display:block;text-align:start;width:100%;font-size:9px;padding:6px;background:#eaf7fe;border-inline-start:2px solid var(--blue);border-radius:4px;margin-top:5px;line-height:1.6;color:var(--navy);overflow:hidden;text-overflow:ellipsis}.calendar-event.cancelled{background:#fcf0f2;border-color:var(--red);color:var(--red)}.calendar-event.completed{background:#edf7f1;border-color:var(--green)}.week-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.week-day{border-inline-end:1px solid var(--line);min-height:340px;padding:10px}.week-day h3{font-size:10px;margin-bottom:12px}.day-list{display:grid;gap:10px}.appointment-card{display:flex;gap:18px;align-items:center;padding:18px;border:1px solid var(--line);border-radius:8px}.appointment-card .time{font-weight:700;color:var(--blue);min-width:70px}.appointment-card .info{flex:1}.appointment-card h3{margin-bottom:5px}.appointment-card p{font-size:10px;margin:0;color:var(--muted)}.modal-overlay{position:fixed;inset:0;background:#0a2b4178;backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:28px;z-index:100}.modal{width:660px;max-width:100%;max-height:92vh;display:flex;flex-direction:column;background:white;border-radius:13px;box-shadow:0 30px 100px #051c3338;overflow:hidden}.modal.wide{width:980px}.modal-head{padding:23px 26px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:18px}.modal-head h2{margin:0;font-size:19px}.modal-body{padding:24px 26px;overflow:auto;min-height:0}.modal-footer{padding:18px 26px;display:flex;gap:9px;justify-content:flex-end;border-top:1px solid var(--line);background:#fbfdfe}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field>label{font-weight:600;font-size:11px;color:var(--navy)}.field .hint{font-size:10px;color:var(--muted);line-height:1.6}.field.full{grid-column:1/-1}.check-label{display:flex;align-items:center;gap:9px;font-size:11px;line-height:1.6}.form-section{grid-column:1/-1;border-bottom:1px solid var(--line);padding-bottom:10px;margin-top:12px;font-size:12px;font-weight:700;color:var(--navy)}.translation-tabs{grid-column:1/-1;display:flex;gap:8px;margin-top:6px}.translation-tabs button{border:1px solid var(--line);padding:7px 13px;border-radius:5px;font-size:10px}.translation-tabs button.active{background:var(--ice);border-color:var(--sky);color:var(--blue)}.translations-pane{display:none;grid-column:1/-1}.translations-pane.active{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.file-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.file-preview{max-width:100px;max-height:80px;border-radius:5px}.detail-head{display:flex;gap:15px;align-items:center;margin-bottom:24px}.detail-head .avatar{width:50px;height:50px;font-size:19px}.detail-head h2{margin-bottom:4px}.detail-head p{margin:0;font-size:11px;color:var(--muted)}.detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:20px 0}.detail-grid label{display:block;font-size:9px;color:var(--muted);text-transform:uppercase;letter-spacing:.8px;margin-bottom:7px}.detail-grid p{font-size:12px;line-height:1.6}.chart-shell{background:#f9fcfe;border:1px solid var(--line);padding:25px 16px;border-radius:10px}.teeth-row{display:flex;justify-content:center;gap:5px;margin:12px 0}.tooth{width:37px;max-width:5.6%;padding:0;display:flex;align-items:center;flex-direction:column;gap:6px}.tooth svg{width:28px;height:38px;color:#adc4d1;fill:white;stroke-width:1.3}.tooth span{font-size:9px;color:var(--muted)}.tooth:hover svg,.tooth.selected svg{stroke:var(--blue);fill:#e3f6ff}.tooth.caries svg{fill:#f8dadd;stroke:var(--red)}.tooth.restored svg,.tooth.implant svg{fill:#d7effa;stroke:var(--blue)}.tooth.missing svg{fill:#f4f7f9;stroke:#cedae0;stroke-dasharray:3}.tooth.healthy svg{fill:#e1f2e9;stroke:var(--green)}.chart-divider{text-align:center;font-size:9px;letter-spacing:1.5px;color:#b0c4ce;margin:14px}.stage,.line-item{display:grid;grid-template-columns:1fr 130px 1fr 30px;gap:10px;align-items:end;padding:12px 0;border-bottom:1px solid var(--line)}.stage label,.line-item label{display:block;font-size:9px;color:var(--muted);margin-bottom:7px}.line-item{grid-template-columns:2fr .7fr 1fr 30px}.repeat-list{margin-bottom:12px}.schedule-day{padding:19px 0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:135px 1fr;gap:22px}.schedule-day:last-child{border:0}.schedule-times{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:9px}.schedule-times input{width:112px}.schedule-times .btn{min-height:32px}.schedule-day.disabled .schedule-content{opacity:.45}.schedule-day>.check-label{align-self:start;padding-top:9px;font-weight:600}.sub-label{font-size:9px;text-transform:uppercase;letter-spacing:1px;color:var(--muted);margin-bottom:9px}.bar-chart{display:flex;align-items:flex-end;gap:13px;height:200px;padding-top:20px;border-bottom:1px solid var(--line)}.bar-column{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;position:relative;min-width:0}.bar-column .bar{width:100%;max-width:35px;background:linear-gradient(#72cff2,#158bc2);border-radius:4px 4px 0 0;min-height:2px}.bar-column small{position:absolute;bottom:-25px;font-size:9px;color:var(--muted)}.bar-column .value{font-size:8px;margin-bottom:6px;color:var(--muted)}.chart-bottom{height:26px}.donut-row{display:flex;align-items:center;gap:25px;justify-content:center;padding:20px}.donut{width:150px;height:150px;border-radius:50%;position:relative;display:grid;place-items:center}.donut:after{content:'';position:absolute;inset:23px;background:white;border-radius:50%}.donut strong{z-index:1;color:var(--navy);font-size:21px}.legend{display:grid;gap:14px;font-size:10px}.legend i{display:inline-block;width:8px;height:8px;border-radius:2px;margin-inline-end:7px}.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.gallery-card{border:1px solid var(--line);border-radius:9px;overflow:hidden}.gallery-images{display:grid;grid-template-columns:1fr 1fr;min-height:150px;background:var(--ice)}.gallery-images figure{margin:0;position:relative;min-width:0}.gallery-images img{width:100%;height:160px;object-fit:cover}.gallery-images figcaption{position:absolute;bottom:8px;inset-inline-start:8px;background:#ffffffdf;padding:4px 6px;border-radius:4px;font-size:8px}.gallery-card-body{padding:16px}.gallery-card-body h3{margin-bottom:7px}.gallery-card-body p{font-size:10px;color:var(--muted);line-height:1.7}.auth-page{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:white}.auth-art{background:var(--navy);padding:65px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden;color:white}.auth-art:after{content:'';width:650px;height:650px;border:1px solid #72cff238;border-radius:50%;position:absolute;bottom:-250px;inset-inline-end:-230px;box-shadow:0 0 0 65px #72cff208,0 0 0 130px #72cff205}.auth-art .brand{color:white;padding:0}.auth-art .brandmark{background:#ffffff0c;border-color:#72cff23b}.auth-art .brand small{color:#a1c4d7}.auth-art h1{font-size:46px;letter-spacing:-1.8px;color:white;max-width:440px;line-height:1.2}.auth-art p{color:#9fbfce;max-width:370px;line-height:1.8;font-size:12px}.auth-form-wrap{display:flex;align-items:center;justify-content:center;padding:55px}.auth-form{width:360px}.auth-form h2{font-size:27px;letter-spacing:-.7px;margin-bottom:9px}.auth-form>p{color:var(--muted);font-size:12px;line-height:1.8;margin-bottom:28px}.auth-form .field{margin-bottom:18px}.auth-form .btn{width:100%;margin-top:10px;min-height:42px}.auth-form .lang{margin-top:24px;width:100%}#toast{position:fixed;bottom:26px;inset-inline-end:27px;z-index:150;max-width:400px;background:var(--navy);color:white;padding:14px 20px;border-radius:8px;box-shadow:var(--shadow);font-size:12px;opacity:0;transform:translateY(15px);pointer-events:none;transition:.2s;line-height:1.7}#toast.show{opacity:1;transform:translateY(0)}#toast.danger{background:var(--red)}.loading-line{height:3px;background:var(--sky);position:fixed;top:0;inset-inline:0;z-index:200;animation:pulse 1s infinite}@keyframes pulse{50%{opacity:.25}}.print-only{display:none}.mobile-shade{display:none}.drag-handle{cursor:grab;color:#9db3c0}.table tr.dragging{opacity:.4;background:var(--ice)}.permission-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.preview-body{white-space:pre-wrap;line-height:1.9;font-size:12px}.invoice-summary{display:flex;justify-content:flex-end;gap:40px;padding:20px 0;font-weight:700;color:var(--navy)}.invoice-summary span{display:block;font-weight:400;font-size:10px;color:var(--muted);margin-bottom:7px}.btn-row{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:22px}.switch-text{font-size:11px;color:var(--muted)}.status-dot{width:6px;height:6px;border-radius:50%;background:var(--green);display:inline-block;margin-inline-end:5px}.settings-form{max-width:850px}.content-photo{width:100%;max-height:210px;object-fit:cover;border-radius:8px;margin-bottom:12px}.table-thumb{width:36px;height:36px;object-fit:cover;border-radius:6px}.reorder-note{font-size:10px;color:var(--muted);margin-bottom:15px}.notice a{text-decoration:underline}.no-wrap{white-space:nowrap}@media(min-width:1500px){.workspace{padding:40px 48px}.topbar{padding-inline:48px}.metric{padding:25px}.cards{gap:21px}}@media(max-width:1100px){.layout{grid-template-columns:205px minmax(0,1fr)}.sidebar{width:205px}.workspace{padding:28px 24px}.topbar{padding-inline:24px}.cards{grid-template-columns:repeat(2,1fr)}.two-col{grid-template-columns:1fr}.gallery-grid{grid-template-columns:repeat(2,1fr)}.calendar-day{padding:6px}.calendar-event{font-size:8px}.auth-art{padding:45px}.auth-art h1{font-size:37px}}@media(max-width:760px){.layout{display:block}.sidebar{transform:translateX(-100%);transition:.22s;width:235px}.rtl .sidebar{transform:translateX(100%)}.sidebar.open,.rtl .sidebar.open{transform:translateX(0)}.sidebar.open+.mobile-shade{display:block;position:fixed;inset:0;background:#123c5955;z-index:25}.main{width:100%}.menu-button{display:flex}.topbar{height:62px;padding-inline:17px;gap:10px}.topbar>a{font-size:0;gap:0}.breadcrumb{font-size:10px}.workspace{padding:25px 17px 45px}.page-head{align-items:flex-start;flex-direction:column;gap:16px}h1{font-size:24px}.page-head .actions{width:100%}.page-head .actions .btn{flex:1}.panel{padding:18px}.panel-head{align-items:flex-start}.cards{gap:10px}.metric{padding:16px}.metric strong{font-size:25px}.metric .label{font-size:10px}.metric .label svg{width:29px;height:29px}.table-wrap{margin-inline:-18px}.table td,.table th{padding-inline:16px}.toolbar{gap:13px}.toolbar .filters{width:100%}.search,.search input{width:100%}.toolbar .filters select{flex:1}.modal-overlay{padding:12px}.modal{max-height:94vh}.modal-head{padding:18px}.modal-body{padding:20px 18px}.modal-footer{padding:14px 18px}.form-grid,.translations-pane.active{grid-template-columns:1fr}.field.full,.form-section,.translation-tabs,.translations-pane{grid-column:1}.calendar-day{min-height:85px;padding:4px}.calendar-event{font-size:0;min-height:7px;padding:2px;margin-top:3px}.calendar-event:before{content:''}.calendar-head>div{font-size:8px;padding:10px 3px}.day-number{width:20px;height:20px;font-size:9px}.week-grid{display:block}.week-day{min-height:70px;border-bottom:1px solid var(--line);border-inline-end:0}.week-day .calendar-event{font-size:10px;padding:9px}.appointment-card{padding:14px;gap:11px;flex-wrap:wrap}.appointment-card .time{min-width:56px;font-size:11px}.schedule-day{grid-template-columns:1fr;gap:12px}.schedule-day>.check-label{padding:0}.detail-grid{grid-template-columns:repeat(2,1fr)}.gallery-grid{grid-template-columns:1fr}.stage{grid-template-columns:1fr 110px 30px}.stage>div:nth-child(3){grid-column:1/3;grid-row:2}.stage>.icon-button{grid-column:3;grid-row:1}.line-item{grid-template-columns:1.6fr .6fr 1fr 25px;gap:6px}.line-item input{padding:8px;min-width:0;width:100%}.chart-shell{padding:14px 5px}.teeth-row{gap:2px}.tooth{width:23px}.tooth svg{width:21px;height:31px}.tooth span{font-size:8px}.auth-page{display:block}.auth-art{padding:25px 25px 40px;min-height:220px}.auth-art .brand{margin-bottom:35px}.auth-art h1{font-size:27px;max-width:280px;margin-bottom:0}.auth-art p,.auth-art>small{display:none}.auth-form-wrap{padding:37px 25px}.auth-form{width:100%;max-width:400px}.permission-grid{grid-template-columns:1fr}.donut-row{gap:18px}.donut{width:125px;height:125px}.bar-chart{gap:8px}.invoice-summary{gap:25px}.tabs{gap:18px}.btn{padding:9px 12px}.auth-art:after{width:400px;height:400px;bottom:-280px}.page-head p{font-size:11px}}@media print{body{background:white}.sidebar,.topbar,.page-head,.toolbar,.modal-head button,.modal-footer,.no-print,#toast,.btn,.tabs{display:none!important}.layout{display:block}.main,.workspace{padding:0;margin:0;max-width:none}.panel{border:0;padding:0;box-shadow:none}.modal-overlay{position:static;display:block;padding:0;background:white;backdrop-filter:none}.modal{box-shadow:none;border:0;max-height:none;width:100%!important}.modal-body{overflow:visible;padding:20px}.modal-head{padding:15px 20px}.print-only{display:block}.modal-overlay~*{display:none}body:has(.modal-overlay)>#app{display:none}.table th{background:#f6f9fb!important;-webkit-print-color-adjust:exact}.table{font-size:10px}.table td{padding:10px}.invoice-summary{page-break-inside:avoid}.print-only h1{font-size:24px}.print-meta{font-size:10px;color:#647f90;margin-bottom:25px}}
:lang(ar){font-family:'IBM Plex Sans Arabic',Manrope,Arial,sans-serif;letter-spacing:0!important}.brandmark img{width:31px;height:31px;object-fit:contain}.brandmark{background:#f1faff}.builder-list{display:grid;gap:10px}.builder-field{display:flex;gap:14px;align-items:center;border:1px solid var(--line);border-radius:8px;padding:15px;background:white}.builder-field.dragging{opacity:.4}.builder-field .meta{flex:1;min-width:0}.builder-field h3{margin:0 0 7px}.builder-field p{margin:0;font-size:10px;color:var(--muted)}.builder-field .actions{flex-wrap:nowrap}.builder-options{display:grid;gap:9px}.builder-option{display:grid;grid-template-columns:1fr 1fr 1fr 1fr 28px;gap:7px}.builder-option input{width:100%;min-width:0;font-size:11px}.builder-section{display:grid;grid-template-columns:1.45fr 1fr;gap:22px}.service-checkboxes{display:grid;grid-template-columns:1fr 1fr;gap:10px}.form-preview{max-width:570px;margin:auto}.form-preview .field{margin-bottom:20px}.builder-field .drag-handle{padding:4px}.protected-note{border-inline-start:3px solid var(--blue);padding:14px 17px;background:var(--ice);font-size:11px;line-height:1.8;margin:18px 0}.media-remove{margin-inline-start:auto}.answers-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.answer{padding:14px;background:#f8fcff;border:1px solid var(--line);border-radius:7px}.answer label{display:block;font-size:10px;color:var(--muted);margin-bottom:8px}.answer p{margin:0;font-size:12px;overflow-wrap:anywhere}.provider-empty{font-size:11px;line-height:1.8;padding:12px;background:#fffbf0;border:1px solid #f1e5c6;border-radius:7px;grid-column:1/-1}@media(max-width:1000px){.builder-section{grid-template-columns:1fr}}@media(max-width:760px){.builder-option{grid-template-columns:1fr 1fr}.builder-option button{grid-column:2;justify-self:end}.builder-field{flex-wrap:wrap;padding:13px;gap:9px}.builder-field .actions{width:100%;justify-content:flex-end}.builder-field .meta{min-width:160px}.answers-grid{grid-template-columns:1fr}.service-checkboxes{grid-template-columns:1fr}}
