@layer properties;@layer theme,base,components,utilities;@layer theme{:root,:host{--font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family: var(--font-sans);--default-mono-font-family: var(--font-mono)}}@layer base{*,:after,:before,::backdrop,::file-selector-button{box-sizing:border-box;margin:0;padding:0;border:0 solid}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;tab-size:4;font-family:var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings, normal);font-variation-settings:var(--default-font-variation-settings, normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings, normal);font-variation-settings:var(--default-mono-font-variation-settings, normal);font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea,::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;border-radius:0;background-color:transparent;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px){::placeholder{color:currentcolor}@supports (color: color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]),::file-selector-button{appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer utilities{.visible{visibility:visible}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border-width:0}.fixed{position:fixed}.container{width:100%}@media(width>=40rem){.container{max-width:40rem}}@media(width>=48rem){.container{max-width:48rem}}@media(width>=64rem){.container{max-width:64rem}}@media(width>=80rem){.container{max-width:80rem}}@media(width>=96rem){.container{max-width:96rem}}.block{display:block}.hidden{display:none}.grow{flex-grow:1}.underline{text-decoration-line:underline}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}@property --tw-blur{syntax: "*"; inherits: false;}@property --tw-brightness{syntax: "*"; inherits: false;}@property --tw-contrast{syntax: "*"; inherits: false;}@property --tw-grayscale{syntax: "*"; inherits: false;}@property --tw-hue-rotate{syntax: "*"; inherits: false;}@property --tw-invert{syntax: "*"; inherits: false;}@property --tw-opacity{syntax: "*"; inherits: false;}@property --tw-saturate{syntax: "*"; inherits: false;}@property --tw-sepia{syntax: "*"; inherits: false;}@property --tw-drop-shadow{syntax: "*"; inherits: false;}@property --tw-drop-shadow-color{syntax: "*"; inherits: false;}@property --tw-drop-shadow-alpha{syntax: "<percentage>"; inherits: false; initial-value: 100%;}@property --tw-drop-shadow-size{syntax: "*"; inherits: false;}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-blur: initial;--tw-brightness: initial;--tw-contrast: initial;--tw-grayscale: initial;--tw-hue-rotate: initial;--tw-invert: initial;--tw-opacity: initial;--tw-saturate: initial;--tw-sepia: initial;--tw-drop-shadow: initial;--tw-drop-shadow-color: initial;--tw-drop-shadow-alpha: 100%;--tw-drop-shadow-size: initial}}}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url("./media/inter-latin-400-normal-55WT6UWF.woff2") format("woff2"),url("./media/inter-latin-400-normal-FR5HOXA4.woff") format("woff")}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url("./media/inter-latin-500-normal-W62DVTXI.woff2") format("woff2"),url("./media/inter-latin-500-normal-ZNGIZ2YB.woff") format("woff")}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url("./media/inter-latin-600-normal-R6Y2SZCR.woff2") format("woff2"),url("./media/inter-latin-600-normal-ZYHV6QZT.woff") format("woff")}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url("./media/inter-latin-700-normal-SU5XVJMF.woff2") format("woff2"),url("./media/inter-latin-700-normal-TQQ5JXGD.woff") format("woff")}:root,[data-theme=seba]{--primary: #174e3e;--primary-dark: #0d3329;--primary-hover: #236650;--sidebar-active: #285847;--accent: #d8b75f;--background: #f7f8f6;--surface: #fff;--border: #dfe5e5;--text: #111827;--muted: #586579;--soft: #f3f5f6;--tint: #edf6f1;--on-primary: #fff;--sidebar-muted: #c7dcd4;--success: #146441;--success-bg: #e2f3eb;--danger: #ad251e;--danger-bg: #fde9e7;--warning: #805100;--warning-bg: #fff0c9;--neutral: #4c5566;--neutral-bg: #f0f1f3;--overlay: #0d332980;--shadow: #0d33292e;--sidebar-card: #ffffff14}@layer components{.app-shell{display:block;min-height:100vh;background:var(--background);color:var(--text);font:14px/1.5 Inter,Arial,sans-serif}.app-shell *{box-sizing:border-box}.app-shell a{text-decoration:none;color:inherit}.app-shell button,.app-shell input,.app-shell select{font:inherit}.app-shell button,.app-shell a{-webkit-tap-highlight-color:transparent}.app-shell button{cursor:pointer}.app-shell :focus-visible{outline:3px solid var(--accent);outline-offset:4px}.app-shell h1{font-size:34px;line-height:1.2;letter-spacing:-1.1px;font-weight:700;margin:0 0 5px}.app-shell h2{font-size:19px;line-height:1.4;font-weight:600;letter-spacing:-.5px;margin:0}.app-shell p{margin:0}.app-shell .muted,.app-shell small{color:var(--muted)}.app-shell .small{font-size:12px}.app-shell .sidebar{position:fixed;inset:0 auto 0 0;width:238px;background:linear-gradient(155deg,var(--primary),var(--primary-dark));color:var(--on-primary);z-index:30;padding:22px 13px 24px;display:flex;flex-direction:column}.app-shell .brand{display:flex;flex-direction:column;align-items:center;margin:0 0 27px}.app-shell .brand svg{width:48px;height:48px;fill:none;stroke:var(--accent);stroke-width:2}.app-shell .brand strong{font-size:28px;line-height:1.35;letter-spacing:3px;font-weight:600}.app-shell .brand span{font-size:13px;letter-spacing:.6px;color:var(--accent)}.app-shell .sidebar nav{display:grid;gap:5px}.app-shell .sidebar nav a{scroll-margin-bottom:26px;min-height:54px;display:flex;align-items:center;gap:18px;padding:12px 15px;border-radius:6px}.app-shell .sidebar a:hover{background:var(--sidebar-active)}.app-shell .sidebar .brand:hover{background:transparent}.app-shell .sidebar a.active{background:var(--sidebar-active);font-weight:600;box-shadow:inset 3px 0 var(--accent)}.app-shell .sidebar app-icon{font-size:17px}.app-shell .sidebar-scroll{flex:1;min-height:0;overflow-y:auto;margin:0 -6px;padding:0 6px 22px;scrollbar-width:thin;-webkit-mask-image:linear-gradient(to bottom,#000 calc(100% - 22px),transparent);mask-image:linear-gradient(to bottom,#000 calc(100% - 22px),transparent)}.app-shell .profile-card{margin-top:12px;padding:8px;border:1px solid var(--sidebar-active);border-radius:10px;background:var(--sidebar-card)}.app-shell .sidebar .profile-link{display:flex;align-items:center;gap:11px;min-height:54px;padding:7px 8px;border-radius:8px}.app-shell .profile-link .avatar{width:38px;height:38px;background:var(--accent);color:var(--primary-dark);font-weight:700}.app-shell .profile-text{display:grid;flex:1;min-width:0;line-height:1.3}.app-shell .profile-text strong,.app-shell .profile-text small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-shell .profile-text strong{font-size:14px;font-weight:600}.app-shell .sidebar .profile-text small{color:var(--sidebar-muted);font-size:12px}.app-shell .profile-link>app-icon{color:var(--sidebar-muted);font-size:14px}.app-shell .profile-actions{display:grid;gap:2px;margin-top:6px;padding-top:6px;border-top:1px solid var(--sidebar-active)}.app-shell .profile-actions button{display:flex;align-items:center;gap:12px;min-height:42px;padding:8px 10px;border:0;border-radius:7px;background:none;color:var(--on-primary);font-size:14px;text-align:left}.app-shell .profile-actions button:hover{background:var(--sidebar-active)}.app-shell .profile-actions app-icon{color:var(--accent);font-size:15px}.app-shell .admin-nav{display:grid;gap:5px;margin-top:22px;padding-top:18px;border-top:1px solid var(--sidebar-active)}.app-shell .admin-nav a{min-height:54px;display:flex;align-items:center;gap:18px;padding:12px 15px;border-radius:6px}.app-shell .nav-caption{margin:0 15px 6px;font-size:11px;letter-spacing:.8px;text-transform:uppercase;color:var(--sidebar-muted)}.app-shell .avatar{display:inline-flex;align-items:center;justify-content:center;width:39px;height:39px;flex-shrink:0;border-radius:50%;background:var(--tint);color:var(--primary-dark);font-size:13px;font-weight:500}.app-shell .workspace{margin-left:238px;min-height:100vh;display:flex;flex-direction:column}.app-shell .topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:61px;border-bottom:1px solid var(--border);padding:8px 24px 8px 34px;background:var(--surface);font-size:13px}.app-shell .topbar-title{display:flex;align-items:center;gap:8px;min-width:0;color:var(--muted);font-size:14px}.app-shell .topbar-page{color:var(--text);font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-shell .user-menu{margin-left:auto}.app-shell .user-menu-trigger{display:flex;align-items:center;min-height:46px;padding:4px 10px 4px 4px;border:1px solid transparent;border-radius:999px;background:none;color:var(--text)}.app-shell .user-menu-trigger:hover,.app-shell .user-menu-trigger[aria-expanded=true]{background:var(--soft);border-color:var(--border)}.app-shell .user-trigger{display:flex;align-items:center;gap:10px}.app-shell .user-trigger-text{display:grid;text-align:left;line-height:1.25}.app-shell .user-trigger-text strong{font-size:14px;font-weight:600}.app-shell .user-trigger-text small{font-size:12px}.app-shell .user-trigger>app-icon{color:var(--muted)}.app-shell .topbar .avatar{width:33px;height:33px;background:var(--primary-dark);color:var(--on-primary);font-size:12px}.app-shell .crumb{width:1em;height:1em;color:var(--muted)}.app-shell main{width:100%;max-width:1600px;padding:30px 30px 18px;flex:1}.app-shell footer{font-size:11px;color:var(--muted);text-align:right;padding:12px 30px 18px}.app-shell .page-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:0 0 23px}.app-shell .page-heading p{color:var(--muted);font-size:16px}.app-shell .actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.app-shell .btn{min-height:43px;display:inline-flex;align-items:center;justify-content:center;gap:10px;border:1px solid var(--primary);border-radius:5px;padding:10px 17px;color:var(--primary);background:var(--surface);font-weight:500;font-size:13px;white-space:nowrap}.app-shell .btn:hover{background:var(--tint)}.app-shell .btn.primary{background:var(--primary);color:var(--on-primary)}.app-shell .btn.primary:hover{background:var(--primary-hover)}.app-shell .btn:disabled{opacity:.4;cursor:not-allowed}.app-shell .full{width:100%}.app-shell .stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:20px}.app-shell .stat{border:1px solid var(--border);border-radius:8px;background:var(--surface);display:flex;align-items:center;gap:20px;min-height:121px;padding:20px}.app-shell .stat p{font-size:13px;color:var(--muted)}.app-shell .stat strong{display:block;font-size:26px;line-height:1.45;font-weight:700;letter-spacing:-.7px;white-space:nowrap}.app-shell .stat small{display:block;font-size:12px}.app-shell .stat-icon{display:grid;place-items:center;flex-shrink:0;width:62px;height:65px;border-radius:17px;background:var(--tint);color:var(--primary);font-size:23px}.app-shell .panel{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:20px;min-width:0}.app-shell .panel-heading{margin-bottom:17px}.app-shell .panel-heading p{color:var(--muted);font-size:13px}.app-shell .heading-row{display:flex;align-items:center;justify-content:space-between;gap:15px}.app-shell .dashboard-grid{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(280px,1fr);gap:17px}.app-shell .side-panels{display:grid;gap:14px}.app-shell .tabs{display:flex;gap:20px;border-bottom:1px solid var(--border)}.app-shell .tabs button{border:0;border-bottom:2px solid transparent;background:transparent;color:var(--muted);padding:9px 12px 12px;display:flex;gap:9px;align-items:center}.app-shell .tabs button.selected{color:var(--primary);border-bottom-color:var(--primary);font-weight:600}.app-shell .count{background:var(--accent);border-radius:20px;color:var(--primary-dark);padding:0 7px;font-size:12px}.app-shell .table-scroll{position:relative;overflow:auto}.app-shell table{border-collapse:collapse;width:100%;text-align:left;font-size:12px;white-space:nowrap}.app-shell th{background:var(--soft);color:var(--muted);font-weight:500;padding:11px 12px}.app-shell td{padding:13px 12px;border-bottom:1px solid var(--border)}.app-shell tbody tr:hover{background:var(--tint)}.app-shell .numeric{text-align:right;font-variant-numeric:tabular-nums}.app-shell .person{display:inline-flex;gap:12px;align-items:center}.app-shell a.person:hover{color:var(--primary);text-decoration:underline}.app-shell .small-avatar{width:29px;height:29px;font-size:11px}.app-shell .badge{display:inline-block;padding:5px 10px;border-radius:12px;font-size:11px;background:var(--neutral-bg);color:var(--neutral)}.app-shell .badge.danger{background:var(--danger-bg);color:var(--danger)}.app-shell .badge.warning{background:var(--warning-bg);color:var(--warning)}.app-shell .badge.success{background:var(--success-bg);color:var(--success)}.app-shell .text-link{display:inline-flex;align-items:center;gap:13px;color:var(--primary);font-weight:500;font-size:13px}.app-shell .text-link:hover{text-decoration:underline}.app-shell .panel-link{margin:26px 5px 5px}.app-shell .prices{margin:0 0 18px}.app-shell .prices div{display:flex;justify-content:space-between;padding:11px 4px;border-bottom:1px solid var(--border)}.app-shell .prices dd{font-weight:600;font-variant-numeric:tabular-nums}.app-shell .quick{background:var(--tint)}.app-shell .quick h2{display:flex;align-items:center;gap:12px;margin-bottom:14px}.app-shell .quick h2 app-icon{color:var(--warning)}.app-shell .quick a{display:flex;align-items:center;gap:16px;padding:9px 3px;color:var(--primary)}.app-shell .quick a app-icon:last-child{margin-left:auto}.app-shell .quick a:hover{text-decoration:underline}.app-shell .recent{margin-top:17px}.app-shell .money{color:var(--primary);font-weight:600}.app-shell .clients-panel{padding:0;overflow:hidden}.app-shell .list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px}.app-shell .search{border:1px solid var(--border);border-radius:6px;display:flex;align-items:center;padding:0 12px;gap:10px;flex:1;max-width:420px;color:var(--muted)}.app-shell .search input{border:0;min-height:44px;width:100%;min-width:0;background:transparent;color:var(--text)}.app-shell .segments{display:flex;border:1px solid var(--border);border-radius:6px;overflow:hidden}.app-shell .segments button{padding:12px 16px;white-space:nowrap;background:var(--surface);color:var(--muted);border:0;border-right:1px solid var(--border);font-size:12px}.app-shell .segments button:last-child{border:0}.app-shell .segments button.selected{background:var(--primary);color:var(--on-primary)}.app-shell .clients-panel td{padding:18px 23px}.app-shell .clients-panel th{padding:13px 23px}.app-shell .clients-panel .avatar{width:43px;height:43px}.app-shell .icon-link{display:flex;padding:6px}.app-shell .pagination{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:23px;color:var(--muted);font-size:12px}.app-shell .pagination nav{display:flex;align-items:center;gap:14px}.app-shell .pagination .btn{border-color:var(--border);padding:6px 14px}.app-shell .page-note{color:var(--muted);font-size:12px;margin-top:24px}.app-shell .stock-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:17px;align-items:start}.app-shell .stock-layout>.clients-panel{grid-row:2}.app-shell .stock-side{display:grid;grid-row:1;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.app-shell .stock-mark{display:grid;place-items:center;width:39px;height:39px;flex-shrink:0;border-radius:10px;background:var(--tint);color:var(--primary);font-size:18px}.app-shell .stock-helper{color:var(--muted);font-size:12px}.app-shell .stock-questions{background:var(--tint)}.app-shell .stock-questions h2{display:flex;align-items:center;gap:10px}.app-shell .stock-questions h2 app-icon{color:var(--primary)}.app-shell .stock-questions ul{margin:15px 0 0;padding-left:19px;color:var(--muted);font-size:13px}.app-shell .stock-questions li+li{margin-top:8px}.app-shell .breadcrumb{display:flex;gap:14px;color:var(--muted);font-size:13px;margin-bottom:20px}.app-shell .detail-tabs{margin:25px 0 20px}.app-shell select{border:1px solid var(--border);border-radius:5px;min-height:42px;padding:8px 30px 8px 12px;background:var(--surface);color:var(--text)}.app-shell .operation{display:inline-flex;gap:8px;align-items:center;background:var(--neutral-bg);padding:5px 10px;border-radius:5px}.app-shell .operation.payment{background:var(--success-bg);color:var(--primary)}.app-shell .account-total{padding:18px 12px;color:var(--muted);border-bottom:1px solid var(--border)}.app-shell .account-total strong{color:var(--text)}.app-shell .detail-actions{margin-top:22px}.app-shell .empty{text-align:center;padding:50px 25px;white-space:normal}.app-shell .empty p{margin:12px auto 20px;color:var(--muted);max-width:580px}.app-shell .empty .btn{margin-top:10px}.app-shell .planned{padding:70px 25px}.app-shell .planned-icon{display:inline-flex;padding:24px;border-radius:50%;background:var(--tint);color:var(--primary);font-size:35px;margin-bottom:20px}.app-shell .print-note,.app-shell .menu-button,.app-shell .mobile-close,.app-shell .scrim{display:none}.app-shell .skip-link{position:fixed;top:-100px;left:260px;z-index:100;background:var(--surface);padding:12px}.app-shell .skip-link:focus{top:10px}@media(min-width:1600px){.app-shell main{margin:0 auto}}@media(max-width:1250px){.app-shell .page-heading{align-items:flex-start;flex-direction:column}.app-shell .stat{gap:12px;padding:16px}.app-shell .stat strong{font-size:22px}.app-shell .stat-icon{width:45px;height:50px;font-size:20px}.app-shell .list-toolbar{flex-wrap:wrap}.app-shell .dashboard-grid{grid-template-columns:minmax(0,1fr)}.app-shell .side-panels{grid-template-columns:1fr 1fr}}@media(max-width:1023px){.app-shell .sidebar{visibility:hidden;transform:translate(-100%)}.app-shell .sidebar.open{visibility:visible;transform:translate(0)}.app-shell .workspace{margin-left:0}.app-shell .menu-button{display:inline-flex;padding:8px;border:0}.app-shell .topbar{justify-content:flex-start;gap:12px;padding:8px 14px 8px 20px}.app-shell .mobile-close{display:flex;position:absolute;top:12px;right:12px;border:0;background:transparent;color:var(--on-primary);padding:8px}.app-shell .scrim{display:block;position:fixed;inset:0;background:var(--overlay);border:0;z-index:20}.app-shell .skip-link{left:20px}}@media(max-width:640px){.app-shell main{padding:23px 16px 10px}.app-shell h1{font-size:28px}.app-shell .page-heading p{font-size:14px}.app-shell .user-trigger-text,.app-shell .topbar-home,.app-shell .topbar .crumb{display:none}.app-shell .topbar{padding:8px 12px}.app-shell .stats{grid-template-columns:1fr;gap:10px}.app-shell .stat{min-height:96px;gap:18px}.app-shell .stat strong{font-size:25px}.app-shell .stat-icon{width:53px;height:55px}.app-shell .side-panels{grid-template-columns:1fr}.app-shell .actions{width:100%;gap:8px}.app-shell .actions .btn{flex:1;white-space:normal}.app-shell .panel{padding:16px}.app-shell .clients-panel{padding:0}.app-shell .list-toolbar{padding:16px;gap:12px}.app-shell .search{max-width:none;flex-basis:100%}.app-shell .segments{width:100%}.app-shell .segments button{flex:1;padding:12px 8px;font-size:11px}.app-shell .pagination{flex-wrap:wrap;padding:16px}.app-shell footer{padding:15px 16px;text-align:left}.app-shell .heading-row{flex-wrap:wrap}.app-shell .detail-tabs{gap:5px}}@media print{.app-shell .sidebar,.app-shell .topbar,.app-shell footer,.app-shell .actions,.app-shell .tabs,.app-shell .breadcrumb,.app-shell select{display:none!important}.app-shell .workspace{margin:0}.app-shell main{padding:0}.app-shell .panel{border:0}.app-shell .table-scroll{overflow:visible}.app-shell .print-note{display:block;font-weight:600;margin-top:20px}}.app-shell .subnav{display:flex;flex-wrap:wrap;gap:4px;border-bottom:1px solid var(--border);margin-bottom:22px}.app-shell .subnav a{white-space:nowrap;min-height:44px;display:inline-flex;align-items:center;gap:9px;padding:10px 15px;border-bottom:3px solid transparent;margin-bottom:-1px;color:var(--muted);font-weight:500;font-size:14px}.app-shell .subnav a:hover{color:var(--primary);background:var(--soft)}.app-shell .subnav a.active{color:var(--primary);border-bottom-color:var(--primary);font-weight:600}.app-shell .alert{display:flex;align-items:flex-start;gap:12px;border:1px solid var(--border);border-left:4px solid var(--neutral);border-radius:6px;background:var(--surface);padding:14px 17px;margin-bottom:18px;font-size:14px}.app-shell .alert app-icon{flex-shrink:0;margin-top:1px}.app-shell .alert>div{flex:1;min-width:0}.app-shell .alert.success{border-left-color:var(--success);background:var(--success-bg);color:var(--success)}.app-shell .alert.error{border-left-color:var(--danger);background:var(--danger-bg);color:var(--danger)}.app-shell .alert.warning{border-left-color:var(--warning);background:var(--warning-bg);color:var(--warning)}.app-shell .alert .close{border:0;background:none;color:inherit;padding:0;text-decoration:underline;font-size:13px}.app-shell .alert strong{font-weight:600}.app-shell .code-shown{font-size:27px;letter-spacing:7px;font-weight:700;display:block;margin:6px 0}.app-shell .form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:17px}.app-shell .field{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:13px}.app-shell .field>span{font-weight:500}.app-shell .field input,.app-shell .field select,.app-shell .toolbar input,.app-shell .toolbar select{min-height:43px;border:1px solid var(--border);border-radius:5px;padding:10px 12px;background:var(--surface);color:var(--text);width:100%}.app-shell .field input:focus,.app-shell .field select:focus{border-color:var(--primary)}.app-shell .field .hint{color:var(--muted);font-size:12px}.app-shell .field .error-text{color:var(--danger);font-size:12px}.app-shell .field input[aria-invalid=true]{border-color:var(--danger)}.app-shell .field.wide{grid-column:1 / -1}.app-shell .form-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:19px}.app-shell .toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:18px}.app-shell .toolbar .grow{flex:1;min-width:190px}.app-shell .toolbar label{display:flex;flex-direction:column;gap:5px;font-size:12px;color:var(--muted)}.app-shell fieldset{border:1px solid var(--border);border-radius:6px;padding:15px;margin:0;min-width:0}.app-shell legend{font-size:13px;font-weight:500;padding:0 6px}.app-shell .choices{display:grid;grid-template-columns:repeat(auto-fill,minmax(215px,1fr));gap:9px}.app-shell .choice{display:flex;align-items:flex-start;gap:10px;padding:9px 11px;border:1px solid var(--border);border-radius:5px;font-size:13px;cursor:pointer;background:var(--surface)}.app-shell .choice:hover{border-color:var(--primary);background:var(--tint)}.app-shell .choice input{margin:1px 0 0;width:17px;height:17px;flex-shrink:0;accent-color:var(--primary)}.app-shell .choice small{display:block;font-size:11px}.app-shell .choice.is-sensitive{border-color:var(--warning);background:var(--warning-bg)}.app-shell .tags{display:flex;flex-wrap:wrap;gap:6px}.app-shell .tag{display:inline-flex;align-items:center;border-radius:4px;background:var(--soft);color:var(--neutral);padding:3px 9px;font-size:12px;font-weight:500;white-space:nowrap}.app-shell .tag.sensitive{background:var(--warning-bg);color:var(--warning)}.app-shell .tag.permission{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;letter-spacing:.2px}.app-shell .row-actions{display:flex;flex-wrap:wrap;gap:5px}.app-shell .link-action{border:0;background:none;padding:6px 8px;border-radius:4px;color:var(--primary);font-size:13px;font-weight:500;white-space:nowrap}.app-shell .link-action:hover{background:var(--tint)}.app-shell .link-action.danger{color:var(--danger)}.app-shell .link-action.danger:hover{background:var(--danger-bg)}.app-shell dialog{margin:auto;border:0;border-radius:9px;padding:0;max-width:470px;width:calc(100% - 32px);box-shadow:0 18px 44px #0d33293d;color:var(--text)}.app-shell dialog::backdrop{background:var(--overlay)}.app-shell dialog .dialog-body{padding:24px}.app-shell dialog h2{margin-bottom:10px}.app-shell dialog p{color:var(--muted);font-size:14px}.app-shell dialog .form-actions{justify-content:flex-end}.app-shell .detail-list{display:grid;gap:3px;font-size:13px;margin:0}.app-shell .detail-list div{display:flex;gap:8px}.app-shell .detail-list dt{color:var(--muted);min-width:118px}.app-shell .detail-list dd{margin:0;font-weight:500}.app-shell .mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;word-break:break-word}.app-shell .stacked{display:grid;gap:3px}@media(max-width:640px){.app-shell .subnav{flex-wrap:nowrap;overflow-x:auto}.app-shell .choices{grid-template-columns:1fr}}.app-shell .permission-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}.app-shell .permission-group{border:1px solid var(--border);border-radius:7px;padding:14px 16px;background:var(--surface);min-width:0}.app-shell .permission-group h4,.app-shell .permission-group legend{display:flex;align-items:center;gap:9px;margin:0 0 11px;padding:0;font-size:13px;font-weight:600;letter-spacing:.2px;color:var(--primary)}.app-shell .permission-group ul{list-style:none;margin:0;padding:0;display:grid;gap:7px}.app-shell .permission-group li{display:flex;align-items:center;gap:9px;font-size:13px}.app-shell .permission-group li app-icon{color:var(--success);width:1.05em;height:1.05em}.app-shell .permission-groups.picker .permission-group{position:relative}.app-shell .group-toggle{position:absolute;top:10px;right:10px;font-size:12px}.app-shell .picker .choices{grid-template-columns:1fr;gap:6px}.app-shell .picker .choice{align-items:flex-start}.app-shell .picker .choice small{color:var(--muted);margin-top:1px}.app-shell .picker .choice .tag{margin-top:4px}.app-shell .person-cell{display:flex;align-items:center;gap:12px;min-width:0}.app-shell .person-cell .avatar{width:41px;height:41px}.app-shell .person-name{display:grid;gap:1px;min-width:0}.app-shell .person-name strong{font-weight:600}.app-shell .person-name small{font-size:12px}.app-shell .role-card{margin-bottom:15px}.app-shell .role-card .panel-heading{margin-bottom:13px}.app-shell .role-title{display:flex;align-items:center;gap:11px;flex-wrap:wrap}.app-shell .role-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:9px;background:var(--tint);color:var(--primary);flex-shrink:0}.app-shell .role-card.system .role-mark{background:var(--soft);color:var(--neutral)}.app-shell .role-card.sensitive-role .role-mark{background:var(--warning-bg);color:var(--warning)}.app-shell .role-note{display:flex;align-items:center;gap:9px;margin-top:13px;padding-top:12px;border-top:1px solid var(--border);color:var(--muted);font-size:12px}.app-shell .lead{color:var(--muted);font-size:14px;max-width:70ch;margin-bottom:19px}@media(max-width:900px){.app-shell .stock-layout,.app-shell .stock-side{grid-template-columns:1fr}.app-shell .cards-on-mobile .table-scroll{overflow:visible}.app-shell .cards-on-mobile table,.app-shell .cards-on-mobile tbody,.app-shell .cards-on-mobile tr,.app-shell .cards-on-mobile td{display:block;width:auto;max-width:100%;white-space:normal}.app-shell .cards-on-mobile .person-name small,.app-shell .cards-on-mobile td{overflow-wrap:anywhere}.app-shell .cards-on-mobile thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.app-shell .cards-on-mobile tr{border:1px solid var(--border);border-radius:8px;padding:15px;margin-bottom:12px;background:var(--surface)}.app-shell .cards-on-mobile tr:hover{background:var(--surface)}.app-shell .cards-on-mobile td{border:0;padding:5px 0;display:flex;align-items:center;justify-content:space-between;gap:14px;text-align:right}.app-shell .cards-on-mobile td[data-label]:before{content:attr(data-label);color:var(--muted);font-size:12px;text-align:left;flex-shrink:0}.app-shell .cards-on-mobile td.card-title{display:block;padding-bottom:11px;margin-bottom:8px;border-bottom:1px solid var(--border);text-align:left}.app-shell .cards-on-mobile td.card-actions{display:grid;gap:8px;padding-top:12px;margin-top:6px;border-top:1px solid var(--border)}.app-shell .cards-on-mobile td.card-actions:before{content:none}.app-shell .cards-on-mobile .row-actions{display:grid;grid-template-columns:1fr;gap:8px}.app-shell .cards-on-mobile .row-actions .link-action{width:100%}.app-shell .cards-on-mobile .link-action{min-height:44px;border:1px solid var(--border);border-radius:5px;background:var(--surface);justify-content:center;display:inline-flex;align-items:center}.app-shell .cards-on-mobile .link-action.danger{border-color:var(--danger-bg)}.app-shell .permission-groups{grid-template-columns:1fr}}.app-shell .field-group-title{font-size:14px;font-weight:600;margin:22px 0 4px}.app-shell .field-group-title+.hint{color:var(--muted);font-size:12px;margin-bottom:11px;display:block}.app-shell .menu{position:relative;display:inline-flex}.app-shell .menu-panel{position:fixed;z-index:70;min-width:240px;max-width:min(330px,calc(100vw - 16px));padding:6px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text);box-shadow:0 16px 40px var(--shadow)}.app-shell .menu-panel[hidden]{display:none}.app-shell .menu-panel:not(.placed){visibility:hidden}.app-shell .menu-item{display:flex;align-items:center;gap:12px;width:100%;min-height:44px;padding:10px 12px;border:0;border-radius:7px;background:none;color:var(--text);font-size:14px;font-weight:500;text-align:left;white-space:nowrap}.app-shell .menu-item app-icon{color:var(--muted)}.app-shell .menu-item:hover,.app-shell .menu-item:focus-visible{background:var(--tint);outline:none}.app-shell .menu-item:focus-visible{box-shadow:inset 0 0 0 2px var(--primary)}.app-shell .menu-item.danger,.app-shell .menu-item.danger app-icon{color:var(--danger)}.app-shell .menu-item.danger:hover,.app-shell .menu-item.danger:focus-visible{background:var(--danger-bg)}.app-shell .menu-separator{height:1px;margin:6px 4px;background:var(--border)}.app-shell .menu-header{display:flex;align-items:center;gap:12px;padding:10px 10px 8px}.app-shell .menu-header .avatar{background:var(--primary-dark);color:var(--on-primary)}.app-shell .menu-header strong,.app-shell .menu-header small{display:block}.app-shell .menu-header strong{font-size:15px;font-weight:600}.app-shell .menu-header small{font-size:12px}.app-shell .toast-region{position:fixed;left:50%;bottom:20px;z-index:80;width:min(560px,calc(100vw - 32px));transform:translate(-50%);pointer-events:none}.app-shell .toast{display:flex;align-items:flex-start;gap:12px;padding:14px 10px 14px 16px;border:1px solid var(--border);border-left:5px solid var(--neutral);border-radius:10px;background:var(--surface);color:var(--text);box-shadow:0 16px 40px var(--shadow);font-size:14px;pointer-events:auto}.app-shell .toast p{flex:1;line-height:1.5}.app-shell .toast.success{border-left-color:var(--success)}.app-shell .toast.success>app-icon{color:var(--success)}.app-shell .toast.error{border-left-color:var(--danger)}.app-shell .toast.error>app-icon{color:var(--danger)}.app-shell .toast.warning{border-left-color:var(--warning)}.app-shell .toast.warning>app-icon{color:var(--warning)}.app-shell .toast-close{display:grid;place-items:center;min-width:36px;min-height:36px;border:0;border-radius:6px;background:none;color:var(--muted)}.app-shell .toast-close:hover{background:var(--soft)}.app-shell .btn.large{min-height:48px;padding:12px 20px;font-size:15px}.app-shell .btn.row-button{min-height:40px;padding:8px 14px;gap:8px;font-size:14px}.app-shell .btn.subtle{border-color:var(--border);color:var(--text)}.app-shell .more-trigger{display:inline-flex;align-items:center;gap:8px}.app-shell .users-list .readable-table td{white-space:normal}.app-shell .users-list .readable-table td.card-actions,.app-shell .users-list .readable-table td[data-label="Derni\e8re connexion"]{white-space:nowrap}.app-shell .users-list .readable-table td,.app-shell .users-list .readable-table th{padding-left:16px;padding-right:16px}.app-shell .users-list .readable-table td:first-child,.app-shell .users-list .readable-table th:first-child{padding-left:23px}.app-shell .optional{color:var(--muted);font-weight:400}.app-shell .field>label{font-weight:600;font-size:14px}.app-shell .readable-table{font-size:14px}.app-shell .readable-table th{font-size:13px;font-weight:600}.app-shell .readable-table .person-name strong{font-size:15px}.app-shell .readable-table .person-name small,.app-shell .readable-table .stacked small,.app-shell .readable-table .tag{font-size:13px}.app-shell .readable-table .badge{font-size:13px;padding:5px 11px}.app-shell .actions-head{text-align:right}.app-shell .readable-table .row-actions{flex-wrap:nowrap;justify-content:flex-end;gap:8px}.app-shell .tag.you{margin-left:6px;background:var(--tint);color:var(--primary);font-size:12px}.app-shell dialog.wide-dialog{max-width:680px}.app-shell dialog .dialog-body{max-height:calc(100dvh - 48px);overflow:auto}.app-shell dialog .dialog-body>p{margin-bottom:16px}.app-shell .role-choices{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:10px}.app-shell .role-choice{display:flex;align-items:flex-start;gap:12px;padding:14px;border:1px solid var(--border);border-radius:9px;background:var(--surface);font-size:14px;cursor:pointer}.app-shell .role-choice:hover{border-color:var(--primary)}.app-shell .role-choice.selected{border-color:var(--primary);background:var(--tint);box-shadow:inset 0 0 0 1px var(--primary)}.app-shell .role-choice.is-locked{cursor:not-allowed;opacity:.75}.app-shell .role-choice input{width:20px;height:20px;margin:1px 0 0;flex-shrink:0;accent-color:var(--primary)}.app-shell .role-choice-body{display:grid;gap:4px;min-width:0}.app-shell .role-choice-title{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:15px;font-weight:600}.app-shell .role-choice small{display:block;font-size:13px;line-height:1.45}.app-shell .role-choice .role-choice-lock{display:flex;align-items:center;gap:6px;color:var(--warning)}.app-shell .back-link{display:inline-flex;align-items:center;gap:6px;min-height:44px;margin-bottom:6px;color:var(--primary);font-size:14px;font-weight:500}.app-shell .back-link:hover{text-decoration:underline}.app-shell .create-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px;align-items:start}.app-shell .create-form{display:grid;gap:16px}.app-shell .create-form .alert{margin:0}.app-shell .form-section h2{display:flex;align-items:center;gap:12px;margin-bottom:16px;font-size:17px}.app-shell .form-section>.hint{color:var(--muted);font-size:13px;margin:-6px 0 12px}.app-shell .form-section>.hint:last-child{margin:12px 0 0}.app-shell .step-number{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--primary);color:var(--on-primary);font-size:14px;font-weight:600;flex-shrink:0}.app-shell .create-form .field input{min-height:48px;font-size:15px}.app-shell .create-form .field .hint,.app-shell .create-form .field .error-text{font-size:13px}.app-shell .help-panel{position:sticky;top:20px;border-color:transparent;background:var(--tint)}.app-shell .help-panel h2{display:flex;align-items:center;gap:10px;margin-bottom:12px;font-size:16px}.app-shell .next-steps{display:grid;gap:10px;margin:0 0 14px;padding-left:22px;font-size:14px;line-height:1.55}.app-shell .help-panel .muted{font-size:13px;line-height:1.55}.app-shell .result-panel{max-width:720px;padding:32px}.app-shell .result-panel h1{font-size:28px}.app-shell .result-mark{display:inline-grid;place-items:center;width:56px;height:56px;margin-bottom:16px;border-radius:50%;background:var(--success-bg);color:var(--success);font-size:26px}.app-shell .result-mark.warning{background:var(--warning-bg);color:var(--warning)}.app-shell .result-lead{margin-bottom:18px;color:var(--muted);font-size:15px}.app-shell .next-title{margin:22px 0 10px;font-size:16px}.app-shell .code-box{margin-bottom:16px;padding:16px;border:1px dashed var(--warning);border-radius:10px;background:var(--warning-bg);color:var(--warning)}.app-shell .pin-change{display:grid;gap:18px;max-width:440px}.app-shell .role-section{margin-bottom:28px}.app-shell .section-heading{margin-bottom:14px}.app-shell .section-heading h2{font-size:20px}.app-shell .section-heading p{max-width:78ch;margin-top:4px;color:var(--muted);font-size:14px;line-height:1.55}.app-shell .role-card .heading-row{align-items:flex-start;margin-bottom:14px}.app-shell .role-card h3{margin:0 0 2px;font-size:17px;font-weight:600}.app-shell .role-card .role-title .muted{font-size:14px}.app-shell .role-badges{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.app-shell .coverage{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 10px;padding:0;list-style:none}.app-shell .coverage li{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border-radius:999px;background:var(--tint);color:var(--primary);font-size:13px;font-weight:500}.app-shell .coverage li.all{background:var(--success-bg);color:var(--success)}.app-shell .coverage li.none{background:var(--soft);color:var(--muted)}.app-shell .coverage strong{font-variant-numeric:tabular-nums}.app-shell .role-empty{margin-bottom:6px;color:var(--muted);font-size:14px}.app-shell .details-toggle{display:inline-flex;align-items:center;gap:6px;min-height:40px;margin:0 0 8px -8px;font-size:14px}.app-shell .permission-group li.not-granted,.app-shell .permission-group li.not-granted app-icon{color:var(--muted)}.app-shell .empty-note{color:var(--muted);font-size:14px;line-height:1.55}.app-shell .view-tabs{display:flex;gap:4px;margin-bottom:10px;border-bottom:1px solid var(--border);overflow-x:auto}.app-shell .view-tabs a{display:inline-flex;align-items:center;gap:9px;min-height:48px;margin-bottom:-1px;padding:10px 16px;border-bottom:3px solid transparent;color:var(--muted);font-size:15px;font-weight:500;white-space:nowrap}.app-shell .view-tabs a:hover{background:var(--soft);color:var(--primary)}.app-shell .view-tabs a.active{border-bottom-color:var(--primary);color:var(--primary);font-weight:600}.app-shell .view-hint{margin-bottom:16px;color:var(--muted);font-size:14px}.app-shell .audit-panel{padding:0;overflow:hidden}.app-shell .audit-panel>.alert{margin:16px 20px 0}.app-shell .audit-filters{display:flex;flex-wrap:wrap;align-items:flex-end;gap:14px 16px;padding:18px 20px;border-bottom:1px solid var(--border)}.app-shell .filter-field{display:grid;gap:6px;min-width:170px}.app-shell .filter-field.grow{flex:1 1 240px}.app-shell .filter-field>label,.app-shell .filter-label{font-size:13px;font-weight:600}.app-shell .filter-field select,.app-shell .filter-field>input,.app-shell .input-with-icon{width:100%;min-height:44px;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--text);font-size:14px}.app-shell .filter-field>input{padding:9px 12px}.app-shell .input-with-icon{display:flex;align-items:center;gap:8px;padding:0 10px;color:var(--muted)}.app-shell .input-with-icon input{width:100%;min-width:0;min-height:42px;border:0;background:transparent;color:var(--text)}.app-shell .outcome-filter .segments button{padding:11px 14px;font-size:13px}.app-shell .clear-filters{display:inline-flex;align-items:center;gap:6px;min-height:44px;font-size:14px}.app-shell .audit-table td{vertical-align:middle}.app-shell .audit-table .card-title{min-width:260px;white-space:normal}.app-shell .audit-table .when strong{font-weight:600}.app-shell .event-cell{display:flex;align-items:center;gap:12px}.app-shell .event-mark{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;border-radius:9px;background:var(--tint);color:var(--primary)}.app-shell .event-mark.failure{background:var(--danger-bg);color:var(--danger)}.app-shell .event-mark.denied{background:var(--warning-bg);color:var(--warning)}.app-shell .audit-table .event-cell strong{font-weight:600}.app-shell .audit-table tr.is-open{background:var(--tint)}.app-shell .audit-table .details-row td{padding:16px 23px 20px;background:var(--soft);white-space:normal}.app-shell .audit-table .details-row:hover{background:var(--soft)}.app-shell .detail-list.readable{gap:8px;font-size:14px}.app-shell .detail-list.readable dt{min-width:190px}.app-shell .tech-details{margin-top:14px;font-size:13px}.app-shell .tech-details summary{min-height:36px;padding:6px 0;color:var(--muted);font-weight:500;cursor:pointer}.app-shell .tech-details dl{margin-top:8px}@media(max-width:1023px){.app-shell .create-layout{grid-template-columns:minmax(0,1fr)}.app-shell .help-panel{position:static}}@media(max-width:900px){.app-shell .cards-on-mobile td.card-actions{grid-template-columns:minmax(0,1fr)}.app-shell .cards-on-mobile .audit-table tbody tr{display:flex;flex-direction:column}.app-shell .cards-on-mobile .audit-table td.card-title{order:-1}.app-shell .cards-on-mobile .row-actions>*,.app-shell .cards-on-mobile .row-actions .menu>button{width:100%}.app-shell .cards-on-mobile .row-actions .btn{min-height:44px;justify-content:center}.app-shell .audit-table .card-title{min-width:0}.app-shell .audit-table .details-row td{padding:12px 0 4px;background:transparent}.app-shell .detail-list.readable div{display:grid;gap:2px}}@media(max-width:640px){.app-shell .audit-filters{padding:16px}.app-shell .filter-field{flex:1 1 100%}.app-shell .outcome-filter .segments{width:100%}.app-shell .outcome-filter .segments button{flex:1;padding:11px 6px}.app-shell .result-panel{padding:22px 18px}.app-shell .sticky-actions{position:sticky;bottom:0;z-index:5;margin:0 -16px;padding:12px 16px;background:var(--background);border-top:1px solid var(--border)}.app-shell .sticky-actions .btn.primary{flex:1}.app-shell .sticky-actions .btn:not(.primary){display:none}.app-shell .view-tabs a{padding:10px 12px;font-size:14px}}.auth-page{min-height:100dvh;display:grid;grid-template-columns:minmax(300px,42%) 1fr;background:var(--background);color:var(--text)}.auth-brand{background:var(--primary-dark);color:var(--on-primary);padding:clamp(32px,5vw,80px);display:flex;flex-direction:column;justify-content:space-between;gap:48px}.auth-brand-name{display:flex;align-items:center;gap:16px;font-size:30px;font-weight:600;letter-spacing:.08em}.auth-brand-name small{display:block;color:var(--accent);font-size:13px;font-weight:400;letter-spacing:.03em}.auth-jewel{color:var(--accent);font-size:68px;line-height:1}.auth-eyebrow{font-size:11px;font-weight:600;letter-spacing:.12em;color:var(--muted)}.auth-brand .auth-eyebrow{color:var(--accent)}.auth-introduction h2{font-size:clamp(28px,3vw,44px);line-height:1.2;font-weight:600;margin:20px 0}.auth-introduction>p:last-child,.auth-brand-footer{color:var(--sidebar-muted);line-height:1.7;font-size:15px}.auth-brand-footer{display:flex;align-items:center;gap:12px}.auth-content{display:grid;place-items:center;padding:48px 28px;min-width:0}.auth-card{width:100%;max-width:440px}.auth-symbol{width:52px;height:52px;display:grid;place-items:center;border-radius:16px;background:var(--tint);color:var(--primary);margin-bottom:26px}.auth-card h1{font-size:clamp(28px,3vw,36px);line-height:1.2;font-weight:700;margin:12px 0;letter-spacing:-.035em}.auth-description{color:var(--muted);line-height:1.6;margin-bottom:28px}.auth-form{display:grid;gap:20px}.auth-form label{display:grid;gap:8px;font-size:14px;font-weight:500}.auth-form input{width:100%;min-width:0;min-height:52px;padding:12px 14px;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:10px;font:inherit}.auth-form input:focus-visible,.auth-card button:focus-visible,.auth-card a:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.auth-field{display:grid;gap:8px}.auth-field>.auth-hint{font-size:13px}.auth-submit{min-height:52px;padding:12px 20px;border-radius:10px;background:var(--primary);color:var(--on-primary);font-weight:600;cursor:pointer}.auth-submit:hover:not(:disabled){background:var(--primary-hover)}.auth-submit:disabled{opacity:.55;cursor:wait}.auth-links{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:22px}.auth-card a,.auth-text-button{color:var(--primary);text-decoration:underline;text-underline-offset:4px;font-size:14px;display:inline-flex;align-items:center;min-height:44px}.auth-text-button{background:none;border:0;cursor:pointer}.auth-card .auth-back{display:flex;margin-top:8px}.auth-support{border-top:1px solid var(--border);padding-top:24px;margin-top:32px;color:var(--muted);font-size:13px;line-height:1.6}.auth-hint{color:var(--muted);font-size:14px;line-height:1.6}.auth-feedback{padding:12px 16px;border-radius:10px;line-height:1.6;font-size:14px;margin:16px 0}.auth-error{color:var(--danger);background:var(--danger-bg)}.auth-info{color:var(--success);background:var(--success-bg)}.auth-steps{display:flex;padding:0;list-style:none;gap:12px;margin:0 0 24px;color:var(--muted);font-size:12px}.auth-steps li{flex:1;padding-top:10px;border-top:3px solid var(--border)}.auth-steps [aria-current=step]{border-color:var(--primary);color:var(--primary);font-weight:600}@media(max-width:760px){.auth-page{grid-template-columns:1fr;grid-template-rows:auto 1fr}.auth-brand{padding:20px 24px}.auth-brand-name{font-size:22px}.auth-jewel{font-size:44px}.auth-introduction,.auth-brand-footer{display:none}.auth-content{padding:32px 24px;align-items:start}}.pin-field{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px}.pin-boxes{position:relative;width:min(100%,360px)}.pin-cells{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.pin-cell{display:grid;place-items:center;aspect-ratio:5 / 6;min-height:48px;border:1.5px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text);font-size:24px;font-weight:600;font-variant-numeric:tabular-nums;transition:border-color .15s,box-shadow .15s}.pin-cell.filled{border-color:var(--primary)}.pin-cell.current{border-color:var(--primary);box-shadow:0 0 0 3px var(--accent)}.pin-cell.current:empty:after{content:"";width:2px;height:42%;background:var(--primary);animation:pin-caret 1s steps(1) infinite}@keyframes pin-caret{50%{opacity:0}}@media(prefers-reduced-motion:reduce){.pin-cell.current:empty:after{animation:none}}.pin-field.is-invalid .pin-cell{border-color:var(--danger)}.pin-field.is-invalid .pin-cell.current{box-shadow:0 0 0 3px var(--danger-bg)}.pin-field.is-disabled .pin-cell{opacity:.55}.pin-field .pin-boxes .pin-native{position:absolute;inset:0;z-index:1;width:100%;height:100%;min-height:0;margin:0;padding:0;border:0;opacity:0;caret-color:transparent;font-size:16px;cursor:text}.pin-field .pin-boxes .pin-native::-ms-reveal{display:none}.pin-reveal{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:6px 10px;border:0;border-radius:8px;background:none;color:var(--primary);font:inherit;font-size:14px;font-weight:500;cursor:pointer}.pin-reveal:hover{background:var(--tint)}.pin-reveal:focus-visible{outline:3px solid var(--accent);outline-offset:2px}@media(max-width:380px){.pin-cells{gap:6px}.pin-cell{font-size:20px}}}
