/* TK Workspace 1.3 — sculpted surfaces and made-to-measure sheets */
.tk-production-controls{display:flex;align-items:center;gap:24px;margin:0 0 24px;padding:20px;background:white;border-radius:18px;box-shadow:0 10px 30px -18px #254b4460}.tk-production-controls label{min-width:240px;font-size:12px;font-weight:700}.tk-production-controls select{display:block;width:100%;margin-top:9px}.tk-production-controls p{color:#536b63;font-size:12px;line-height:1.7;max-width:560px}.tk-output-split{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:18px 0 24px}.tk-output-split>div{padding:18px;background:#e1eee7;border:1px solid #d3e3dc;border-radius:14px;box-shadow:0 8px 18px -15px #26454150}.tk-output-split>div:nth-child(2){background:#e1ebf6}.tk-output-split>div:nth-child(3){background:#f0edef}.tk-output-split>div:nth-child(4){background:#fff4ba}.tk-output-split>div:nth-child(5){background:#f4e0d8}.tk-output-split small{font-size:11px;color:#3c574e;line-height:1.6;display:block}.tk-output-split strong{display:block;font-size:29px;color:#264541;margin-top:8px}.tk-output-table{overflow-x:auto}.tk-output-table table{width:100%;border-collapse:collapse;min-width:680px;text-align:left}.tk-output-table th,.tk-output-table td{padding:16px 13px;font-size:12px;border-bottom:1px solid #dfebe5}.tk-output-table thead{background:#264541;color:white}.production-status.submitted{background:#dcefe4;color:#24563e}.production-performance-table{border-radius:15px}.production-report-card,.production-assignment-card{box-shadow:0 9px 22px -17px #254b4460}.tk-output-table tbody tr:nth-child(even){background:#f4f8f6}
@media(max-width:900px){.tk-output-split{grid-template-columns:repeat(3,minmax(0,1fr))}.tk-production-controls{align-items:stretch;flex-direction:column;gap:12px}.tk-production-controls label{min-width:0}}
@media(max-width:560px){.tk-output-split{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.tk-output-split>div{padding:14px}.tk-output-split strong{font-size:25px}}
.stitchgh-logo-mark,.stitchgh-mark{background:#050505 url('tonsiklodin-logo.jpg') center/145% no-repeat!important;color:transparent!important;border:0!important;box-shadow:none!important}.stitchgh-logo-mark::after,.stitchgh-mark::after{display:none!important}
.mobile-menu-btn,.mobile-add-btn,.nav-item>span{font-family:system-ui,sans-serif}
.app-body{background:radial-gradient(ellipse at 95% 0,#d9ebe380,transparent 48%),#f3f6f7}
.panel,.metric-card,.customer-card,.order-card,.form-section,.production-metric-grid article{box-shadow:0 3px 5px #213d3a06,0 14px 32px -16px #203d3b40;border:1px solid #fff;border-radius:20px}
.panel,.form-section{background:#fff}.metric-card{transition:transform .2s,box-shadow .2s}.metric-card:hover{transform:translateY(-3px);box-shadow:0 18px 36px -15px #203d3b55}
.customer-form{max-width:1100px;margin:auto}.customer-form>.form-section{padding:28px;margin-bottom:25px}
.form-section-title{padding-bottom:20px;border-bottom:1px solid #e6edeb;margin-bottom:24px}.form-section-title>span{background:#213d3b;color:#f6d847;border-radius:14px;width:46px;height:46px;font-size:16px;box-shadow:0 7px 14px #203d3b25}.form-section-title h2{font-size:22px;letter-spacing:-.6px}.form-section-title p{font-size:12px;color:#5a6c6c;line-height:1.7}
.customer-form .form-grid{gap:22px}.customer-form label{font-size:13px;font-weight:600}.customer-form input,.customer-form select,.customer-form textarea{background:#f7f9fa;box-shadow:inset 0 1px 2px #263e3c08;border-color:#dce5e4;border-radius:12px;min-height:50px}.customer-form input:focus,.customer-form select:focus,.customer-form textarea:focus{background:white;border-color:#548f7f}
#newCustomerView>.page-header{padding:30px;border-radius:22px;background:linear-gradient(115deg,#213d3b,#34574e);box-shadow:0 17px 36px -18px #213d3b70}#newCustomerView>.page-header h1{color:#fff;font-size:36px}#newCustomerView>.page-header p{color:#d9ebe3}#newCustomerView>.page-header .eyebrow{color:#f6d847}
.tk-measure-empty{text-align:center;border:1px dashed #b5cfc7;border-radius:18px;background:#eef6f2;padding:35px 22px}.tk-measure-empty>span{display:block;font-size:32px;color:#31584c}.tk-measure-empty h3{font-size:21px;letter-spacing:-.5px;margin:12px 0}.tk-measure-empty p{max-width:480px;margin:auto;font-size:13px;line-height:1.8;color:#526860}
.tk-sheet-intro{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:22px}.tk-sheet-intro small{color:#477663;letter-spacing:1.7px;font-size:9px;font-weight:700}.tk-sheet-intro h3{font-size:24px;letter-spacing:-.7px;margin-top:8px}.tk-unit{font-size:11px;color:#284e42;background:#e2f0e9;border:1px solid #cfe2d8;padding:10px 13px;border-radius:30px;white-space:nowrap}
.tk-measure-section{min-width:0;border:1px solid #e0e9e6;border-radius:18px;padding:18px 20px 24px;margin:0 0 24px;background:linear-gradient(140deg,#fbfdfc,#f3f7f6);box-shadow:0 8px 20px -14px #254b4450}.tk-measure-section legend{padding:0 10px;font-size:16px;font-weight:700;color:#284d42}.tk-measure-section legend span{display:inline-grid;place-items:center;width:30px;height:30px;margin-right:7px;border-radius:9px;background:#f6d847;color:#23251b;font-size:12px}.tk-measure-section:nth-of-type(2) legend span{background:#d6e6f4}.tk-measure-section:nth-of-type(3) legend span{background:#e4ddf1}
.tk-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px 18px}.tk-fields label{display:flex;flex-direction:column;gap:9px;font-size:12px;line-height:1.4;font-weight:600;color:#324844}.tk-fields .measure-input{position:relative}.tk-fields input{width:100%;padding:13px 39px 13px 13px;background:#fff;min-height:49px;border-radius:11px;border:1px solid #d4e2dd;font-size:16px;box-shadow:0 3px 6px #254b4408}.tk-fields .measure-input span{position:absolute;right:13px;top:50%;transform:translateY(-50%);font-size:11px;color:#667d74;pointer-events:none}.tk-measure-note{font-size:12px;color:#596d65;line-height:1.7;padding:0 3px}
#measurementModal .modal-card{width:min(920px,calc(100vw - 32px));max-width:920px;padding:30px;max-height:90dvh;overflow-y:auto}#measurementModal .modal-head{margin-bottom:24px}#measurementModal .modal-head h2{font-size:27px}.modal-actions{gap:12px}
#measurementDisplay.tk-measure-display{display:block}.tk-saved-group{margin-bottom:24px}.tk-saved-group h3{font-size:15px;color:#33594e;margin-bottom:15px}.tk-saved-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.tk-saved-grid .measurement-tile{background:#f0f6f3;border:1px solid #e0ebe5;border-radius:13px;padding:17px;box-shadow:0 5px 12px -10px #244b4160}.tk-saved-grid small{font-size:11px;color:#5a7167;line-height:1.5;display:block}.tk-saved-grid strong{display:block;margin-top:9px;font-size:24px;color:#244b41}.tk-saved-grid strong span{font-size:11px;font-weight:400}
.customer-form .form-actions{background:#fff;border:1px solid #e2ebe6;border-radius:17px;padding:18px;box-shadow:0 10px 25px -18px #18382e60}.primary-action{box-shadow:0 7px 15px -8px #af922b75}
@media(max-width:650px){.customer-form>.form-section{padding:20px 16px}.tk-fields,.tk-saved-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}.tk-sheet-intro{align-items:flex-start;flex-direction:column}.tk-sheet-intro h3{font-size:22px}.tk-measure-section{padding:15px 12px 20px}.tk-measure-section legend{font-size:14px}#measurementModal .modal-card{padding:24px 15px}.tk-fields label{font-size:11px}#newCustomerView>.page-header{padding:24px}#newCustomerView>.page-header h1{font-size:29px}}
@media(max-width:360px){.tk-fields,.tk-saved-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.metric-card:hover{transform:none}}

/* V1.5: explicit contrast for every customer profile action. */
.profile-hero .profile-actions .secondary-action {
 background:#ffffff; color:#203c38; border:1px solid #b8ccc7;
}
.profile-hero .profile-actions .secondary-action:hover {
 background:#f8e36a; color:#182421; border-color:#d4b928;
}
.profile-hero .profile-actions .danger-action {
 background:#fff0ef; color:#982c32; border:1px solid #e8b6b7;
}
.profile-hero .profile-actions .danger-action:hover {
 background:#982c32; color:#ffffff;
}
.profile-hero .profile-actions button:focus-visible {
 outline:3px solid #f8dc43; outline-offset:3px;
}
.profile-hero .eyebrow { color:#f6dc65; }
.profile-hero .profile-meta span { color:#d8e4e0; }
